menus property Null safety

List<MenuItem> menus
final

The menu items in the submenu opened by this menu item.

If this is an empty list, this PlatformMenu will be disabled.

Implementation

@override
final List<MenuItem> menus;