parentMenuItemId property
Object?
get
parentMenuItemId
The parent ID, if any, for the item clicked.
Implementation
Object? get parentMenuItemId => _wrapped.parentMenuItemId?.when(
isInt: (v) => v,
isString: (v) => v,
);
set
parentMenuItemId
(Object? v)
Implementation
set parentMenuItemId(Object? v) {
_wrapped.parentMenuItemId = switch (v) {
int() => v.jsify()!,
String() => v.jsify()!,
null => null,
_ => throw UnsupportedError(
'Received type: ${v.runtimeType}. Supported types are: int, String')
};
}