restoreWindowWithIdentifier method
bool
restoreWindowWithIdentifier(
- DartNSUserInterfaceItemIdentifier identifier, {
- required NSCoder state,
- required ObjCBlock<
Void Function(NSWindow?, NSError?)> completionHandler,
restoreWindowWithIdentifier:state:completionHandler:
Implementation
bool restoreWindowWithIdentifier(
DartNSUserInterfaceItemIdentifier identifier, {
required objc.NSCoder state,
required objc.ObjCBlock<ffi.Void Function(NSWindow?, objc.NSError?)>
completionHandler,
}) {
objc.checkOsVersionInternal(
'NSApplication.restoreWindowWithIdentifier:state:completionHandler:',
iOS: (true, null),
macOS: (false, (10, 7, 0)),
);
return _objc_msgSend_smgnrk(
this.ref.pointer,
_sel_restoreWindowWithIdentifier_state_completionHandler_,
identifier.ref.pointer,
state.ref.pointer,
completionHandler.ref.pointer,
);
}