isClosed property Null safety

bool isClosed
inherited

Whether the bloc is closed.

A bloc is considered closed once close is called. Subsequent state changes cannot occur within a closed bloc.

Implementation

@override
bool get isClosed => _stateController.isClosed;