initWithWindowRef method
initWithWindowRef:
Implementation
NSWindow? initWithWindowRef(ffi.Pointer<ffi.Void> windowRef) {
objc.checkOsVersionInternal(
'NSWindow.initWithWindowRef:',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
final _ret = _objc_msgSend_1mbt9g9(
this.ref.retainAndReturnPointer(),
_sel_initWithWindowRef_,
windowRef,
);
return _ret.address == 0
? null
: NSWindow.castFromPointer(_ret, retain: false, release: true);
}