BidirectionalBloc<E extends BlocEvent, S extends BlocState> constructor

BidirectionalBloc<E extends BlocEvent, S extends BlocState>({
  1. BlocStateBuilder<S>? initialStateBuilder,
  2. S? initialState,
  3. int eventStateHistorySize = 50,
  4. bool enableForceBuildEvents = false,
})

Implementation

BidirectionalBloc({
  super.initialStateBuilder,
  super.initialState,
  this.eventStateHistorySize = 50,
  this.enableForceBuildEvents = false,
}) {
  _handleEvents();
}