fromValue static method
Implementation
static NSURLRelationship fromValue(int value) => switch (value) {
0 => NSURLRelationshipContains,
1 => NSURLRelationshipSame,
2 => NSURLRelationshipOther,
_ => throw ArgumentError('Unknown value for NSURLRelationship: $value'),
};