state property

State? state

Returns the current state of the bloc.

It may be null only in wrapper provided by getBlocWrapperFunction. Can't be null in UI isolate.

Implementation

State? get state => _state;