fromValue static method
Implementation
static UITouchType fromValue(int value) => switch (value) {
0 => UITouchTypeDirect,
1 => UITouchTypeIndirect,
2 => UITouchTypePencil,
3 => UITouchTypeIndirectPointer,
_ => throw ArgumentError('Unknown value for UITouchType: $value'),
};