whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>(
- TResult? $default()?, {
- TResult? card(
- CardTokenParams params
- TResult? bankAccount(
- BankAccountTokenParams params
- TResult? pii(
- PIITokenParams params
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>(
TResult? Function(TokenType type, String? name, Address? address)?
$default, {
TResult? Function(CardTokenParams params)? card,
TResult? Function(BankAccountTokenParams params)? bankAccount,
TResult? Function(PIITokenParams params)? pii,
}) =>
throw _privateConstructorUsedError;