# DecoratedContentComponentBloc constructor Null safety

DecoratedContentComponentBloc(

1. {DecoratedContentRepository? decoratedContentRepository}

)

## Implementation

    DecoratedContentComponentBloc({this.decoratedContentRepository})
        : super(DecoratedContentComponentUninitialized()) {
      on<FetchDecoratedContentComponent>((event, emit) {
        _mapLoadDecoratedContentComponentUpdateToState(event.id!);
      });
      on<DecoratedContentComponentUpdated>((event, emit) {
        emit(DecoratedContentComponentLoaded(value: event.value));
      });
    }