mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? deleteHousehold(
    1. HouseholdOverviewDeleteHouseholdEvent value
    )?,
  2. TResult? deleteIndividual(
    1. HouseholdOverviewDeleteIndividualEvent value
    )?,
  3. TResult? setAsHead(
    1. HouseholdOverviewSetAsHeadEvent value
    )?,
  4. TResult? selectedIndividual(
    1. HouseholdOverviewSelectIndividualEvent value
    )?,
  5. TResult? reload(
    1. HouseholdOverviewReloadEvent value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(HouseholdOverviewDeleteHouseholdEvent value)?
      deleteHousehold,
  TResult? Function(HouseholdOverviewDeleteIndividualEvent value)?
      deleteIndividual,
  TResult? Function(HouseholdOverviewSetAsHeadEvent value)? setAsHead,
  TResult? Function(HouseholdOverviewSelectIndividualEvent value)?
      selectedIndividual,
  TResult? Function(HouseholdOverviewReloadEvent value)? reload,
}) =>
    throw _privateConstructorUsedError;