BeneficiaryRegistrationPersistedState class abstract

Implemented types

Constructors

BeneficiaryRegistrationPersistedState({bool navigateToRoot, required HouseholdModel householdModel, IndividualModel? individualModel, ProjectBeneficiaryModel? projectBeneficiaryModel, DateTime? registrationDate, AddressModel? addressModel, bool loading, bool isEdit, bool isHeadOfHousehold})
const
factory

Properties

addressModel → AddressModel?
no setteroverride
copyWith → _$$BeneficiaryRegistrationPersistedStateImplCopyWith<_$BeneficiaryRegistrationPersistedStateImpl>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
householdModel HouseholdModel
no setteroverride
individualModel → IndividualModel?
no setter
isEdit bool
no setter
isHeadOfHousehold bool
no setter
loading bool
no setteroverride
no setter
projectBeneficiaryModel ProjectBeneficiaryModel?
no setter
registrationDate DateTime?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult create(BeneficiaryRegistrationCreateState value), required TResult editHousehold(BeneficiaryRegistrationEditHouseholdState value), required TResult editIndividual(BeneficiaryRegistrationEditIndividualState value), required TResult addMember(BeneficiaryRegistrationAddMemberState value), required TResult persisted(BeneficiaryRegistrationPersistedState value), required TResult summary(BeneficiaryRegistrationSummaryState value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? create(BeneficiaryRegistrationCreateState value)?, TResult? editHousehold(BeneficiaryRegistrationEditHouseholdState value)?, TResult? editIndividual(BeneficiaryRegistrationEditIndividualState value)?, TResult? addMember(BeneficiaryRegistrationAddMemberState value)?, TResult? persisted(BeneficiaryRegistrationPersistedState value)?, TResult? summary(BeneficiaryRegistrationSummaryState value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult create(BeneficiaryRegistrationCreateState value)?, TResult editHousehold(BeneficiaryRegistrationEditHouseholdState value)?, TResult editIndividual(BeneficiaryRegistrationEditIndividualState value)?, TResult addMember(BeneficiaryRegistrationAddMemberState value)?, TResult persisted(BeneficiaryRegistrationPersistedState value)?, TResult summary(BeneficiaryRegistrationSummaryState value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult create(AddressModel? addressModel, HouseholdModel? householdModel, IndividualModel? individualModel, ProjectBeneficiaryModel? projectBeneficiaryModel, DateTime? registrationDate, String? searchQuery, bool loading, bool isHeadOfHousehold)?, TResult editHousehold(AddressModel addressModel, HouseholdModel householdModel, List<IndividualModel> individualModel, DateTime registrationDate, ProjectBeneficiaryModel? projectBeneficiaryModel, bool loading, IndividualModel? headOfHousehold)?, TResult editIndividual(HouseholdModel householdModel, IndividualModel individualModel, AddressModel addressModel, ProjectBeneficiaryModel? projectBeneficiaryModel, bool loading)?, TResult addMember(AddressModel addressModel, HouseholdModel householdModel, bool loading)?, TResult persisted(bool navigateToRoot, HouseholdModel householdModel, IndividualModel? individualModel, ProjectBeneficiaryModel? projectBeneficiaryModel, DateTime? registrationDate, AddressModel? addressModel, bool loading, bool isEdit, bool isHeadOfHousehold)?, TResult summary(bool navigateToRoot, HouseholdModel? householdModel, IndividualModel? individualModel, ProjectBeneficiaryModel? projectBeneficiaryModel, DateTime? registrationDate, AddressModel? addressModel, bool loading, bool isHeadOfHousehold)?, 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 create(AddressModel? addressModel, HouseholdModel? householdModel, IndividualModel? individualModel, ProjectBeneficiaryModel? projectBeneficiaryModel, DateTime? registrationDate, String? searchQuery, bool loading, bool isHeadOfHousehold), required TResult editHousehold(AddressModel addressModel, HouseholdModel householdModel, List<IndividualModel> individualModel, DateTime registrationDate, ProjectBeneficiaryModel? projectBeneficiaryModel, bool loading, IndividualModel? headOfHousehold), required TResult editIndividual(HouseholdModel householdModel, IndividualModel individualModel, AddressModel addressModel, ProjectBeneficiaryModel? projectBeneficiaryModel, bool loading), required TResult addMember(AddressModel addressModel, HouseholdModel householdModel, bool loading), required TResult persisted(bool navigateToRoot, HouseholdModel householdModel, IndividualModel? individualModel, ProjectBeneficiaryModel? projectBeneficiaryModel, DateTime? registrationDate, AddressModel? addressModel, bool loading, bool isEdit, bool isHeadOfHousehold), required TResult summary(bool navigateToRoot, HouseholdModel? householdModel, IndividualModel? individualModel, ProjectBeneficiaryModel? projectBeneficiaryModel, DateTime? registrationDate, AddressModel? addressModel, bool loading, bool isHeadOfHousehold)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? create(AddressModel? addressModel, HouseholdModel? householdModel, IndividualModel? individualModel, ProjectBeneficiaryModel? projectBeneficiaryModel, DateTime? registrationDate, String? searchQuery, bool loading, bool isHeadOfHousehold)?, TResult? editHousehold(AddressModel addressModel, HouseholdModel householdModel, List<IndividualModel> individualModel, DateTime registrationDate, ProjectBeneficiaryModel? projectBeneficiaryModel, bool loading, IndividualModel? headOfHousehold)?, TResult? editIndividual(HouseholdModel householdModel, IndividualModel individualModel, AddressModel addressModel, ProjectBeneficiaryModel? projectBeneficiaryModel, bool loading)?, TResult? addMember(AddressModel addressModel, HouseholdModel householdModel, bool loading)?, TResult? persisted(bool navigateToRoot, HouseholdModel householdModel, IndividualModel? individualModel, ProjectBeneficiaryModel? projectBeneficiaryModel, DateTime? registrationDate, AddressModel? addressModel, bool loading, bool isEdit, bool isHeadOfHousehold)?, TResult? summary(bool navigateToRoot, HouseholdModel? householdModel, IndividualModel? individualModel, ProjectBeneficiaryModel? projectBeneficiaryModel, DateTime? registrationDate, AddressModel? addressModel, bool loading, bool isHeadOfHousehold)?}) → TResult?
inherited

Operators

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