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

final List<MenuItem> menus;