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