BlocBase<State> constructor

BlocBase<State>(
  1. State _state
)

An interface for the core functionality implemented by both Bloc and Cubit.

Implementation

BlocBase(this._state) {
  // ignore: invalid_use_of_protected_member
  _blocObserver.onCreate(this);
}