SearchHouseholdsBloc constructor
SearchHouseholdsBloc({
- required String userUid,
- required String projectId,
- required IndividualDataRepository individual,
- required HouseholdMemberDataRepository householdMember,
- required HouseholdDataRepository household,
- required ProjectBeneficiaryDataRepository projectBeneficiary,
- required TaskDataRepository taskDataRepository,
- required BeneficiaryType beneficiaryType,
- required SideEffectDataRepository sideEffectDataRepository,
- required RegistrationDeliveryAddressRepo addressRepository,
- required ReferralDataRepository referralDataRepository,
- required IndividualGlobalSearchRepository individualGlobalSearchRepository,
- required HouseHoldGlobalSearchRepository houseHoldGlobalSearchRepository,
Implementation
SearchHouseholdsBloc(
{required this.userUid,
required this.projectId,
required this.individual,
required this.householdMember,
required this.household,
required this.projectBeneficiary,
required this.taskDataRepository,
required this.beneficiaryType,
required this.sideEffectDataRepository,
required this.addressRepository,
required this.referralDataRepository,
required this.individualGlobalSearchRepository,
required this.houseHoldGlobalSearchRepository})
: super(const SearchHouseholdsState()) {
on(_handleClear);
on(_handleSearchByHousehold);
}