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