fromValue static method
Implementation
static UIContainerBackgroundStyle fromValue(int value) => switch (value) {
0 => UIContainerBackgroundStyleAutomatic,
1 => UIContainerBackgroundStyleGlass,
2 => UIContainerBackgroundStyleHidden,
_ => throw ArgumentError('Unknown value for UIContainerBackgroundStyle: $value'),
};