HouseholdOverviewBloc constructor

HouseholdOverviewBloc(
  1. HouseholdOverviewState initialState, {
  2. required ProjectBeneficiaryDataRepository projectBeneficiaryRepository,
  3. required HouseholdDataRepository householdRepository,
  4. required IndividualDataRepository individualRepository,
  5. required HouseholdMemberDataRepository householdMemberRepository,
  6. required TaskDataRepository taskDataRepository,
  7. required SideEffectDataRepository sideEffectDataRepository,
  8. required ReferralDataRepository referralDataRepository,
  9. required BeneficiaryType beneficiaryType,
})

Implementation

HouseholdOverviewBloc(
  super.initialState, {
  required this.projectBeneficiaryRepository,
  required this.householdRepository,
  required this.individualRepository,
  required this.householdMemberRepository,
  required this.taskDataRepository,
  required this.sideEffectDataRepository,
  required this.referralDataRepository,
  required this.beneficiaryType,
}) {
  on(_handleDeleteHousehold);
  on(_handleDeleteIndividual);
  on(_handleSetAsHead);
  on(_handleReloadMember);
  on(_selectedIndividual);
}