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