map<TResult extends Object?> method
TResult
map<TResult extends Object?>(
- TResult $default(
- _CreateTokenParamsLegacy value
- required TResult card(
- _CreateTokenParamsCard value
- required TResult bankAccount(
- _CreateTokenParamsBankAccount value
- required TResult pii(
- _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;