runModalForWindow method
runModalForWindow:relativeToWindow:
Implementation
DartNSInteger runModalForWindow(
NSWindow window, {
required NSWindow relativeToWindow,
}) {
objc.checkOsVersionInternal(
'NSApplication.runModalForWindow:relativeToWindow:',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
return _objc_msgSend_gayyhh(
this.ref.pointer,
_sel_runModalForWindow_relativeToWindow_,
window.ref.pointer,
relativeToWindow.ref.pointer,
);
}