MenuItemSerializableIdGenerator typedef Null safety

MenuItemSerializableIdGenerator = int Function(MenuItem item)

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

Implementation

typedef MenuItemSerializableIdGenerator = int Function(MenuItem item);