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