changeWithObject$1 static method
NSOrderedCollectionChange
changeWithObject$1(
- ObjCObject? anObject, {
- required NSCollectionChangeType type,
- required int index,
- required int associatedIndex,
changeWithObject:type:index:associatedIndex:
iOS: introduced 13.0.0 macOS: introduced 10.15.0
Implementation
static NSOrderedCollectionChange changeWithObject$1(
objc.ObjCObject? anObject, {
required NSCollectionChangeType type,
required int index,
required int associatedIndex,
}) {
objc.checkOsVersionInternal(
'NSOrderedCollectionChange.changeWithObject:type:index:associatedIndex:',
iOS: (false, (13, 0, 0)),
macOS: (false, (10, 15, 0)),
);
final $ret = _objc_msgSend_1egc1c(
_class_NSOrderedCollectionChange,
_sel_changeWithObject_type_index_associatedIndex_,
anObject?.ref.pointer ?? ffi.nullptr,
type.value,
index,
associatedIndex,
);
return NSOrderedCollectionChange.fromPointer(
$ret,
retain: true,
release: true,
);
}