BeneficiaryRegistrationState.summary constructor

const BeneficiaryRegistrationState.summary({
  1. @Default(true) bool navigateToRoot,
  2. HouseholdModel? householdModel,
  3. IndividualModel? individualModel,
  4. ProjectBeneficiaryModel? projectBeneficiaryModel,
  5. DateTime? registrationDate,
  6. AddressModel? addressModel,
  7. @Default(false) bool loading,
  8. @Default(false) bool isHeadOfHousehold,
})

Implementation

const factory BeneficiaryRegistrationState.summary({
  @Default(true) bool navigateToRoot,
  HouseholdModel? householdModel,
  IndividualModel? individualModel,
  ProjectBeneficiaryModel? projectBeneficiaryModel,
  DateTime? registrationDate,
  AddressModel? addressModel,
  @Default(false) bool loading,
  @Default(false) bool isHeadOfHousehold,
}) = BeneficiaryRegistrationSummaryState;