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