whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? googlePay(
- GooglePayParams googlePayParams,
- GooglePayPaymentMethodParams googlePayPaymentMethodParams
- TResult? applePay(
- ApplePayParams applePayParams
- TResult? web()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(GooglePayParams googlePayParams,
GooglePayPaymentMethodParams googlePayPaymentMethodParams)?
googlePay,
TResult? Function(ApplePayParams applePayParams)? applePay,
TResult? Function(PlatformPayWebPaymentRequestCreateOptions options)? web,
}) =>
throw _privateConstructorUsedError;