# FaderComponentBloc constructor Null safety

FaderComponentBloc(

1. {FaderRepository? faderRepository}

)

## Implementation

    FaderComponentBloc({this.faderRepository})
        : super(FaderComponentUninitialized()) {
      on<FetchFaderComponent>((event, emit) {
        _mapLoadFaderComponentUpdateToState(event.id!);
      });
      on<FaderComponentUpdated>((event, emit) {
        emit(FaderComponentLoaded(value: event.value));
      });
    }