URLWithString$2 static method
URLWithString:relativeToURL:
Implementation
static NSURL? URLWithString$2(NSString URLString, {NSURL? relativeToURL}) {
final $ret = _objc_msgSend_15qeuct(
_class_NSURL,
_sel_URLWithString_relativeToURL_,
URLString.ref.pointer,
relativeToURL?.ref.pointer ?? ffi.nullptr,
);
return $ret.address == 0
? null
: NSURL.fromPointer($ret, retain: true, release: true);
}