maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<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
    )?,
  6. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<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,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;