MonaStyleAttributesComponentBloc constructor
MonaStyleAttributesComponentBloc({
- MonaStyleAttributesRepository? monaStyleAttributesRepository,
Implementation
MonaStyleAttributesComponentBloc({this.monaStyleAttributesRepository})
: super(MonaStyleAttributesComponentUninitialized()) {
on<FetchMonaStyleAttributesComponent>((event, emit) {
_mapLoadMonaStyleAttributesComponentUpdateToState(event.id!);
});
on<MonaStyleAttributesComponentUpdated>((event, emit) {
emit(MonaStyleAttributesComponentLoaded(value: event.value));
});
}