map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult create(
    1. BeneficiaryRegistrationCreateState value
    ),
  2. required TResult editHousehold(
    1. BeneficiaryRegistrationEditHouseholdState value
    ),
  3. required TResult editIndividual(
    1. BeneficiaryRegistrationEditIndividualState value
    ),
  4. required TResult addMember(
    1. BeneficiaryRegistrationAddMemberState value
    ),
  5. required TResult persisted(
    1. BeneficiaryRegistrationPersistedState value
    ),
  6. required TResult summary(
    1. BeneficiaryRegistrationSummaryState value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(BeneficiaryRegistrationCreateState value) create,
  required TResult Function(BeneficiaryRegistrationEditHouseholdState value)
      editHousehold,
  required TResult Function(BeneficiaryRegistrationEditIndividualState value)
      editIndividual,
  required TResult Function(BeneficiaryRegistrationAddMemberState value)
      addMember,
  required TResult Function(BeneficiaryRegistrationPersistedState value)
      persisted,
  required TResult Function(BeneficiaryRegistrationSummaryState value)
      summary,
}) =>
    throw _privateConstructorUsedError;