mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
    throw _privateConstructorUsedError;