mapOrNull<TResult extends Object?> method

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

Implementation

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