fromValue static method
Implementation
static UIKeyboardAppearance fromValue(int value) => switch (value) {
0 => UIKeyboardAppearanceDefault,
1 => UIKeyboardAppearanceDark,
2 => UIKeyboardAppearanceLight,
_ => throw ArgumentError('Unknown value for UIKeyboardAppearance: $value'),
};