descendants property Null safety

List<MenuItem> descendants

Returns all descendant MenuItems of this item.

Returns an empty list if this type of menu item doesn't have descendants.

Implementation

List<MenuItem> get descendants => const <MenuItem>[];