openFile$3 method

bool openFile$3(
  1. NSString fullPath, {
  2. NSImage? fromImage,
  3. required NSPoint at,
  4. NSView? inView,
})

openFile:fromImage:at:inView:

Implementation

bool openFile$3(
  objc.NSString fullPath, {
  NSImage? fromImage,
  required NSPoint at,
  NSView? inView,
}) {
  objc.checkOsVersionInternal(
    'NSWorkspace.openFile:fromImage:at:inView:',
    iOS: (true, null),
    macOS: (false, (10, 0, 0)),
  );
  return _objc_msgSend_1no497m(
    this.ref.pointer,
    _sel_openFile_fromImage_at_inView_,
    fullPath.ref.pointer,
    fromImage?.ref.pointer ?? ffi.nullptr,
    at,
    inView?.ref.pointer ?? ffi.nullptr,
  );
}