BeneficiaryRegistrationState.create constructor

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

Implementation

const factory BeneficiaryRegistrationState.create({
  AddressModel? addressModel,
  HouseholdModel? householdModel,
  IndividualModel? individualModel,
  ProjectBeneficiaryModel? projectBeneficiaryModel,
  DateTime? registrationDate,
  String? searchQuery,
  @Default(false) bool loading,
  @Default(false) bool isHeadOfHousehold,
}) = BeneficiaryRegistrationCreateState;