An interface for the core functionality implemented by both Bloc and Cubit.
BlocBase(this._state) { // ignore: invalid_use_of_protected_member _blocObserver.onCreate(this); }