PresentationComponentBloc constructor
PresentationComponentBloc({
- PresentationRepository? presentationRepository,
Implementation
PresentationComponentBloc({this.presentationRepository})
: super(PresentationComponentUninitialized()) {
on<FetchPresentationComponent>((event, emit) {
_mapLoadPresentationComponentUpdateToState(event.id!);
});
on<PresentationComponentUpdated>((event, emit) {
emit(PresentationComponentLoaded(value: event.value));
});
}