MenuSerializableShortcut mixin Null safety
A mixin allowing a ShortcutActivator to provide data for serialization of the shortcut when sending to the platform.
Keep in mind that there are limits to the capabilities of the platform APIs, and not all kinds of ShortcutActivators will work with them.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
) → ShortcutSerialization
- Implement this in a ShortcutActivator subclass to allow it to be serialized for use in a PlatformMenuBar.
) → String
A string representation of this object.