Indicates whether this window has been closed.
print(window.closed); // 'false'
window.close();
print(window.closed); // 'true'
Source
@DomName('Window.closed') @DocsEditable() bool get closed => _blink.BlinkWindow.instance.closed_Getter_(this);