isClosed property
bool?
get
isClosed
Whether the object is already closed.
null
means you can't extract such information.
For example: Flutter's ChangeNotifier doesn't tell you if he was disposed
Implementation
bool? get isClosed;