fromValue static method
Implementation
static UITextInlinePredictionType fromValue(int value) => switch (value) {
0 => UITextInlinePredictionTypeDefault,
1 => UITextInlinePredictionTypeNo,
2 => UITextInlinePredictionTypeYes,
_ => throw ArgumentError('Unknown value for UITextInlinePredictionType: $value'),
};