restorationClass property

NSWindowRestoration? get restorationClass

restorationClass

Implementation

NSWindowRestoration? get restorationClass {
  objc.checkOsVersionInternal(
    'NSWindow.restorationClass',
    iOS: (true, null),
    macOS: (false, (10, 7, 0)),
  );
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_restorationClass);
  return _ret.address == 0
      ? null
      : NSWindowRestoration.castFromPointer(
          _ret,
          retain: true,
          release: true,
        );
}
set restorationClass (NSWindowRestoration? value)

setRestorationClass:

Implementation

set restorationClass(NSWindowRestoration? value) {
  objc.checkOsVersionInternal(
    'NSWindow.setRestorationClass:',
    iOS: (true, null),
    macOS: (false, (10, 7, 0)),
  );
  _objc_msgSend_xtuoz7(
    this.ref.pointer,
    _sel_setRestorationClass_,
    value?.ref.pointer ?? ffi.nullptr,
  );
}