FollowRequestsDashboardComponentBloc constructor
FollowRequestsDashboardComponentBloc({
- FollowRequestsDashboardRepository? followRequestsDashboardRepository,
Implementation
FollowRequestsDashboardComponentBloc({this.followRequestsDashboardRepository})
: super(FollowRequestsDashboardComponentUninitialized()) {
on<FetchFollowRequestsDashboardComponent>((event, emit) {
_mapLoadFollowRequestsDashboardComponentUpdateToState(event.id!);
});
on<FollowRequestsDashboardComponentUpdated>((event, emit) {
emit(FollowRequestsDashboardComponentLoaded(value: event.value));
});
}