addFileWithPath method

NSString addFileWithPath(
  1. NSString path
)

addFileWithPath:

Implementation

objc.NSString addFileWithPath(objc.NSString path) {
  objc.checkOsVersionInternal(
    'NSFileWrapper.addFileWithPath:',
    iOS: (true, null),
    macOS: (false, (10, 0, 0)),
  );
  final _ret = _objc_msgSend_1sotr3r(
    this.ref.pointer,
    _sel_addFileWithPath_,
    path.ref.pointer,
  );
  return objc.NSString.castFromPointer(_ret, retain: true, release: true);
}