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