fromValue static method
Implementation
static UIBehavioralStyle fromValue(int value) => switch (value) {
0 => UIBehavioralStyleAutomatic,
1 => UIBehavioralStylePad,
2 => UIBehavioralStyleMac,
_ => throw ArgumentError('Unknown value for UIBehavioralStyle: $value'),
};