fromValue static method
Implementation
static UIPageControlBackgroundStyle fromValue(int value) => switch (value) {
0 => UIPageControlBackgroundStyleAutomatic,
1 => UIPageControlBackgroundStyleProminent,
2 => UIPageControlBackgroundStyleMinimal,
_ => throw ArgumentError('Unknown value for UIPageControlBackgroundStyle: $value'),
};