members property Null safety

List<MenuItem> members

Returns the list of group members if this menu item is a "grouping" menu item, such as PlatformMenuItemGroup.

Defaults to an empty list.

Implementation

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