openFile$1 method
openFile:withApplication:
Implementation
bool openFile$1(objc.NSString fullPath, {objc.NSString? withApplication}) {
objc.checkOsVersionInternal(
'NSWorkspace.openFile:withApplication:',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
return _objc_msgSend_1lsax7n(
this.ref.pointer,
_sel_openFile_withApplication_,
fullPath.ref.pointer,
withApplication?.ref.pointer ?? ffi.nullptr,
);
}