valueWithNonretainedObject static method
NSValue
valueWithNonretainedObject(
- ObjCObjectBase? anObject
valueWithNonretainedObject:
Implementation
static objc.NSValue valueWithNonretainedObject(
objc.ObjCObjectBase? anObject,
) {
final _ret = _objc_msgSend_1sotr3r(
_class_NSValue,
_sel_valueWithNonretainedObject_,
anObject?.ref.pointer ?? ffi.nullptr,
);
return objc.NSValue.castFromPointer(_ret, retain: true, release: true);
}