maybeMap<TResult extends Object?> method

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

Implementation

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