# DividerComponentBloc constructor Null safety

DividerComponentBloc(

1. {DividerRepository? dividerRepository}

)

## Implementation

    DividerComponentBloc({this.dividerRepository})
        : super(DividerComponentUninitialized()) {
      on<FetchDividerComponent>((event, emit) {
        _mapLoadDividerComponentUpdateToState(event.id!);
      });
      on<DividerComponentUpdated>((event, emit) {
        emit(DividerComponentLoaded(value: event.value));
      });
    }