SideEffectsBloc constructor

SideEffectsBloc(
  1. SideEffectsState initialState, {
  2. required DataRepository<SideEffectModel, SideEffectSearchModel> sideEffectRepository,
})

Implementation

SideEffectsBloc(
  super.initialState, {
  required this.sideEffectRepository,
}) {
  on(_handleSubmit);
  on(_handleSearch);
}