initWithPath method

ObjCObjectBase? initWithPath(
  1. NSString path
)

initWithPath:

Implementation

objc.ObjCObjectBase? initWithPath(objc.NSString path) {
  objc.checkOsVersionInternal(
    'NSFileWrapper.initWithPath:',
    iOS: (true, null),
    macOS: (false, (10, 0, 0)),
  );
  final _ret = _objc_msgSend_1sotr3r(
    this.ref.retainAndReturnPointer(),
    _sel_initWithPath_,
    path.ref.pointer,
  );
  return _ret.address == 0
      ? null
      : objc.ObjCObjectBase(_ret, retain: false, release: true);
}