BeneficiaryRegistrationState.persisted constructor
const
BeneficiaryRegistrationState.persisted({
- required HouseholdModel householdModel,
- IndividualModel? individualModel,
- ProjectBeneficiaryModel? projectBeneficiaryModel,
- DateTime? registrationDate,
- AddressModel? addressModel,
- @Default(false) bool loading,
- @Default(false) bool isEdit,
- @Default(false) bool isHeadOfHousehold,
Implementation
const factory BeneficiaryRegistrationState.persisted({
@Default(true) bool navigateToRoot,
required HouseholdModel householdModel,
IndividualModel? individualModel,
ProjectBeneficiaryModel? projectBeneficiaryModel,
DateTime? registrationDate,
AddressModel? addressModel,
@Default(false) bool loading,
@Default(false) bool isEdit,
@Default(false) bool isHeadOfHousehold,
}) = BeneficiaryRegistrationPersistedState;