fromValue static method
Implementation
static UITextBorderStyle fromValue(int value) => switch (value) {
0 => UITextBorderStyleNone,
1 => UITextBorderStyleLine,
2 => UITextBorderStyleBezel,
3 => UITextBorderStyleRoundedRect,
_ => throw ArgumentError('Unknown value for UITextBorderStyle: $value'),
};