InviteDashboardComponentBloc constructor

InviteDashboardComponentBloc({
  1. InviteDashboardRepository? inviteDashboardRepository,
})

Implementation

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