mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  1. TResult? $default(
    1. _CreateTokenParamsLegacy value
    )?, {
  2. TResult? card(
    1. _CreateTokenParamsCard value
    )?,
  3. TResult? bankAccount(
    1. _CreateTokenParamsBankAccount value
    )?,
  4. TResult? pii(
    1. _CreateTokenParamsPII value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  TResult? Function(_CreateTokenParamsLegacy value)? $default, {
  TResult? Function(_CreateTokenParamsCard value)? card,
  TResult? Function(_CreateTokenParamsBankAccount value)? bankAccount,
  TResult? Function(_CreateTokenParamsPII value)? pii,
}) =>
    throw _privateConstructorUsedError;