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