closed property

  1. @override
bool? get closed
override

Indicates whether this window has been closed.

print(window.closed); // 'false'
window.close();
print(window.closed); // 'true'

MDN does not have compatibility info on this attribute, and therefore is marked nullable.

Implementation

@override
bool? get closed => null;