map<TResult extends Object?> method

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

Implementation

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