FollowingDashboardComponentBloc constructor
FollowingDashboardComponentBloc({
- FollowingDashboardRepository? followingDashboardRepository,
Implementation
FollowingDashboardComponentBloc({this.followingDashboardRepository})
: super(FollowingDashboardComponentUninitialized()) {
on<FetchFollowingDashboardComponent>((event, emit) {
_mapLoadFollowingDashboardComponentUpdateToState(event.id!);
});
on<FollowingDashboardComponentUpdated>((event, emit) {
emit(FollowingDashboardComponentLoaded(value: event.value));
});
}