isClosed property

  1. @override
bool get isClosed

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 => super.isClosed && _sideEffectController.isClosed;