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