fromValue static method
Implementation
static NSFileManagerUnmountOptions fromValue(int value) => switch (value) {
1 => NSFileManagerUnmountAllPartitionsAndEjectDisk,
2 => NSFileManagerUnmountWithoutUI,
_ => throw ArgumentError('Unknown value for NSFileManagerUnmountOptions: $value'),
};