fromValue static method
Implementation
static NSTouchType fromValue(int value) => switch (value) {
0 => NSTouchTypeDirect,
1 => NSTouchTypeIndirect,
_ => throw ArgumentError('Unknown value for NSTouchType: $value'),
};
static NSTouchType fromValue(int value) => switch (value) {
0 => NSTouchTypeDirect,
1 => NSTouchTypeIndirect,
_ => throw ArgumentError('Unknown value for NSTouchType: $value'),
};