fromValue static method
Implementation
static UIViewAnimationTransition fromValue(int value) => switch (value) {
0 => UIViewAnimationTransitionNone,
1 => UIViewAnimationTransitionFlipFromLeft,
2 => UIViewAnimationTransitionFlipFromRight,
3 => UIViewAnimationTransitionCurlUp,
4 => UIViewAnimationTransitionCurlDown,
_ => throw ArgumentError('Unknown value for UIViewAnimationTransition: $value'),
};