HouseholdOverviewEvent class
Constructors
-
HouseholdOverviewEvent.deleteHousehold({required String projectId, required HouseholdModel householdModel, required List<IndividualModel> members, required ProjectBeneficiaryModel projectBeneficiaryModel, required BeneficiaryType projectBeneficiaryType})
-
const
factory
-
HouseholdOverviewEvent.deleteIndividual({required String projectId, required HouseholdModel householdModel, required IndividualModel individualModel, required BeneficiaryType projectBeneficiaryType})
-
const
factory
-
HouseholdOverviewEvent.reload({required String projectId, required BeneficiaryType projectBeneficiaryType})
-
const
factory
-
HouseholdOverviewEvent.selectedIndividual({required IndividualModel individualModel})
-
const
factory
-
HouseholdOverviewEvent.setAsHead({required String projectId, required IndividualModel individualModel, required HouseholdModel householdModel, required BeneficiaryType projectBeneficiaryType})
-
const
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
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