copyWithZone static method

ObjCObject copyWithZone(
  1. Pointer<NSZone> zone
)

copyWithZone:

Implementation

static objc.ObjCObject copyWithZone(ffi.Pointer<NSZone> zone) {
  objc.checkOsVersionInternal(
    'NSObject.copyWithZone:',
    iOS: (false, (2, 0, 0)),
    macOS: (false, (10, 0, 0)),
  );
  final $ret = _objc_msgSend_1cwp428(
    _class_NSObject,
    _sel_copyWithZone_,
    zone,
  );
  return objc.ObjCObject($ret, retain: false, release: true);
}