MembershipDashboardComponentBloc constructor
MembershipDashboardComponentBloc({
- MembershipDashboardRepository? membershipDashboardRepository,
Implementation
MembershipDashboardComponentBloc({this.membershipDashboardRepository})
: super(MembershipDashboardComponentUninitialized()) {
on<FetchMembershipDashboardComponent>((event, emit) {
_mapLoadMembershipDashboardComponentUpdateToState(event.id!);
});
on<MembershipDashboardComponentUpdated>((event, emit) {
emit(MembershipDashboardComponentLoaded(value: event.value));
});
}