map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. TResult $default(
    1. _CardPaymentMethodDefault value
    ), {
  2. required TResult id(
    1. _CardPaymentMethodRef value
    ),
  3. required TResult token(
    1. _CardPaymentMethodDetailsToken value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>(
  TResult Function(_CardPaymentMethodDefault value) $default, {
  required TResult Function(_CardPaymentMethodRef value) id,
  required TResult Function(_CardPaymentMethodDetailsToken value) token,
}) =>
    throw _privateConstructorUsedError;