HouseholdOverviewBloc constructor
HouseholdOverviewBloc(
- HouseholdOverviewState initialState, {
- required ProjectBeneficiaryDataRepository projectBeneficiaryRepository,
- required HouseholdDataRepository householdRepository,
- required IndividualDataRepository individualRepository,
- required HouseholdMemberDataRepository householdMemberRepository,
- required TaskDataRepository taskDataRepository,
- required SideEffectDataRepository sideEffectDataRepository,
- required ReferralDataRepository referralDataRepository,
- 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);
}