maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult immediate(
    1. ImmediateCartSummaryItem value
    )?,
  2. TResult deferred(
    1. DeferredSummaryItem value
    )?,
  3. TResult recurring(
    1. RecurringCartSummaryItem value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(ImmediateCartSummaryItem value)? immediate,
  TResult Function(DeferredSummaryItem value)? deferred,
  TResult Function(RecurringCartSummaryItem value)? recurring,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;