menuItemId property
Object
get
menuItemId
The ID of the menu item that was clicked.
Implementation
Object get menuItemId => _wrapped.menuItemId.when(
isInt: (v) => v,
isString: (v) => v,
);
set
menuItemId
( )
Implementation
set menuItemId(Object v) {
_wrapped.menuItemId = switch (v) {
int() => v.jsify()!,
String() => v.jsify()!,
_ => throw UnsupportedError(
'Received type: ${v.runtimeType}. Supported types are: int, String')
};
}