InviteDashboardComponentBloc constructor
InviteDashboardComponentBloc({
- InviteDashboardRepository? inviteDashboardRepository,
Implementation
InviteDashboardComponentBloc({this.inviteDashboardRepository})
: super(InviteDashboardComponentUninitialized()) {
on<FetchInviteDashboardComponent>((event, emit) {
_mapLoadInviteDashboardComponentUpdateToState(event.id!);
});
on<InviteDashboardComponentUpdated>((event, emit) {
emit(InviteDashboardComponentLoaded(value: event.value));
});
}