isClosed property

  1. @override
bool? get isClosed
override

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

@override
bool? get isClosed => closable.toStringDetails().contains('DISPOSED');