fromValue static method
Implementation
static UIMenuOptions fromValue(int value) => switch (value) {
1 => UIMenuOptionsDisplayInline,
2 => UIMenuOptionsDestructive,
32 => UIMenuOptionsSingleSelection,
_ => throw ArgumentError('Unknown value for UIMenuOptions: $value'),
};