fromValue static method
Implementation
static UITextSmartDashesType fromValue(int value) => switch (value) {
0 => UITextSmartDashesTypeDefault,
1 => UITextSmartDashesTypeNo,
2 => UITextSmartDashesTypeYes,
_ => throw ArgumentError('Unknown value for UITextSmartDashesType: $value'),
};