menus property Null safety

List<MenuItem> menus

Returns any child MenuItems of this item.

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

Implementation

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