mapOrNull<TResult extends Object?> method

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

Implementation

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