HouseholdOverviewDeleteHouseholdEvent class abstract

Implemented types

Constructors

HouseholdOverviewDeleteHouseholdEvent({required String projectId, required HouseholdModel householdModel, required List<IndividualModel> members, required ProjectBeneficiaryModel projectBeneficiaryModel, required BeneficiaryType projectBeneficiaryType})
const
factory

Properties

copyWith → _$$HouseholdOverviewDeleteHouseholdEventImplCopyWith<_$HouseholdOverviewDeleteHouseholdEventImpl>
no setter
hashCode int
The hash code for this object.
no setterinherited
householdModel HouseholdModel
no setter
members List<IndividualModel>
no setter
projectBeneficiaryModel ProjectBeneficiaryModel
no setter
projectBeneficiaryType → BeneficiaryType
no setter
projectId String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult deleteHousehold(HouseholdOverviewDeleteHouseholdEvent value), required TResult deleteIndividual(HouseholdOverviewDeleteIndividualEvent value), required TResult setAsHead(HouseholdOverviewSetAsHeadEvent value), required TResult selectedIndividual(HouseholdOverviewSelectIndividualEvent value), required TResult reload(HouseholdOverviewReloadEvent value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? deleteHousehold(HouseholdOverviewDeleteHouseholdEvent value)?, TResult? deleteIndividual(HouseholdOverviewDeleteIndividualEvent value)?, TResult? setAsHead(HouseholdOverviewSetAsHeadEvent value)?, TResult? selectedIndividual(HouseholdOverviewSelectIndividualEvent value)?, TResult? reload(HouseholdOverviewReloadEvent value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult deleteHousehold(HouseholdOverviewDeleteHouseholdEvent value)?, TResult deleteIndividual(HouseholdOverviewDeleteIndividualEvent value)?, TResult setAsHead(HouseholdOverviewSetAsHeadEvent value)?, TResult selectedIndividual(HouseholdOverviewSelectIndividualEvent value)?, TResult reload(HouseholdOverviewReloadEvent value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult deleteHousehold(String projectId, HouseholdModel householdModel, List<IndividualModel> members, ProjectBeneficiaryModel projectBeneficiaryModel, BeneficiaryType projectBeneficiaryType)?, TResult deleteIndividual(String projectId, HouseholdModel householdModel, IndividualModel individualModel, BeneficiaryType projectBeneficiaryType)?, TResult setAsHead(String projectId, IndividualModel individualModel, HouseholdModel householdModel, BeneficiaryType projectBeneficiaryType)?, TResult selectedIndividual(IndividualModel individualModel)?, TResult reload(String projectId, BeneficiaryType projectBeneficiaryType)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult deleteHousehold(String projectId, HouseholdModel householdModel, List<IndividualModel> members, ProjectBeneficiaryModel projectBeneficiaryModel, BeneficiaryType projectBeneficiaryType), required TResult deleteIndividual(String projectId, HouseholdModel householdModel, IndividualModel individualModel, BeneficiaryType projectBeneficiaryType), required TResult setAsHead(String projectId, IndividualModel individualModel, HouseholdModel householdModel, BeneficiaryType projectBeneficiaryType), required TResult selectedIndividual(IndividualModel individualModel), required TResult reload(String projectId, BeneficiaryType projectBeneficiaryType)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? deleteHousehold(String projectId, HouseholdModel householdModel, List<IndividualModel> members, ProjectBeneficiaryModel projectBeneficiaryModel, BeneficiaryType projectBeneficiaryType)?, TResult? deleteIndividual(String projectId, HouseholdModel householdModel, IndividualModel individualModel, BeneficiaryType projectBeneficiaryType)?, TResult? setAsHead(String projectId, IndividualModel individualModel, HouseholdModel householdModel, BeneficiaryType projectBeneficiaryType)?, TResult? selectedIndividual(IndividualModel individualModel)?, TResult? reload(String projectId, BeneficiaryType projectBeneficiaryType)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited