fromValue static method
Implementation
static UIPageControlInteractionState fromValue(int value) => switch (value) {
0 => UIPageControlInteractionStateNone,
1 => UIPageControlInteractionStateDiscrete,
2 => UIPageControlInteractionStateContinuous,
_ => throw ArgumentError('Unknown value for UIPageControlInteractionState: $value'),
};