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