fromValue static method
Implementation
static UIDynamicItemCollisionBoundsType fromValue(int value) => switch (value) {
0 => UIDynamicItemCollisionBoundsTypeRectangle,
1 => UIDynamicItemCollisionBoundsTypeEllipse,
2 => UIDynamicItemCollisionBoundsTypePath,
_ => throw ArgumentError('Unknown value for UIDynamicItemCollisionBoundsType: $value'),
};