maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult handleSubmit(
    1. DeliverInterventionSubmitEvent value
    )?,
  2. TResult handleSearch(
    1. DeliverInterventionSearchEvent value
    )?,
  3. TResult selectFutureCycleDose(
    1. DeliverInterventionCycleFutureDoseSelectionEvent value
    )?,
  4. TResult setActiveCycleDose(
    1. DeliverInterventionActiveCycleDoseSelectionEvent value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(DeliverInterventionSubmitEvent value)? handleSubmit,
  TResult Function(DeliverInterventionSearchEvent value)? handleSearch,
  TResult Function(DeliverInterventionCycleFutureDoseSelectionEvent value)?
      selectFutureCycleDose,
  TResult Function(DeliverInterventionActiveCycleDoseSelectionEvent value)?
      setActiveCycleDose,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;