map<TResult extends Object?> method

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

Implementation

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