runModalForDirectory method
runModalForDirectory:file:
Implementation
DartNSInteger runModalForDirectory(
objc.NSString? path, {
objc.NSString? file,
}) {
objc.checkOsVersionInternal(
'NSSavePanel.runModalForDirectory:file:',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
return _objc_msgSend_gayyhh(
this.ref.pointer,
_sel_runModalForDirectory_file_,
path?.ref.pointer ?? ffi.nullptr,
file?.ref.pointer ?? ffi.nullptr,
);
}