MenuItemSerializableIdGenerator typedef Null safety

MenuItemSerializableIdGenerator = int Function(PlatformMenuItem item)

The signature for a function that generates unique menu item IDs for serialization of a PlatformMenuItem.

Implementation

typedef MenuItemSerializableIdGenerator = int Function(PlatformMenuItem item);