fileURLWithPath$3 static method
fileURLWithPath:relativeToURL:
Implementation
static NSURL fileURLWithPath$3(NSString path, {NSURL? relativeToURL}) {
objc.checkOsVersionInternal(
'NSURL.fileURLWithPath:relativeToURL:',
iOS: (false, (9, 0, 0)),
macOS: (false, (10, 11, 0)),
);
final $ret = _objc_msgSend_15qeuct(
_class_NSURL,
_sel_fileURLWithPath_relativeToURL_,
path.ref.pointer,
relativeToURL?.ref.pointer ?? ffi.nullptr,
);
return NSURL.fromPointer($ret, retain: true, release: true);
}