fromValue static method
Implementation
static UIRectEdge fromValue(int value) => switch (value) {
0 => UIRectEdgeNone,
1 => UIRectEdgeTop,
2 => UIRectEdgeLeft,
4 => UIRectEdgeBottom,
8 => UIRectEdgeRight,
15 => UIRectEdgeAll,
_ => throw ArgumentError('Unknown value for UIRectEdge: $value'),
};