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