GridComponentBloc constructor
GridComponentBloc({
- GridRepository? gridRepository,
Implementation
GridComponentBloc({this.gridRepository})
: super(GridComponentUninitialized()) {
on<FetchGridComponent>((event, emit) {
_mapLoadGridComponentUpdateToState(event.id!);
});
on<GridComponentUpdated>((event, emit) {
emit(GridComponentLoaded(value: event.value));
});
}