isClosed property

bool get isClosed

Returns whether the StateBloc's stream controller is able to receive new events or has been closed.

Implementation

bool get isClosed {
  return _controller.isClosed;
}