when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult googlePay(
    1. GooglePayParams googlePay
    ),
  2. required TResult applePay(
    1. ApplePayParams applePay
    ),
  3. required TResult web(
    1. PlatformPayWebPaymentRequestCreateOptions options
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(GooglePayParams googlePay) googlePay,
  required TResult Function(ApplePayParams applePay) applePay,
  required TResult Function(PlatformPayWebPaymentRequestCreateOptions options)
      web,
}) =>
    throw _privateConstructorUsedError;