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