isClosed property

  1. @override
bool get isClosed
override

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;