when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult recurring(
    1. String description,
    2. String managementUrl,
    3. ImmediateCartSummaryItem billing,
    4. ImmediateCartSummaryItem? trialBilling,
    5. String? billingAgreement,
    6. String? tokenNotificationURL,
    ),
  2. required TResult automaticReload(
    1. String description,
    2. String managementUrl,
    3. String label,
    4. String reloadAmount,
    5. String thresholdAmount,
    6. String? billingAgreement,
    7. String? tokenNotificationURL,
    ),
  3. required TResult multiMerchant(
    1. List<ApplePayMultiMerchant> merchants
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(
          String description,
          String managementUrl,
          ImmediateCartSummaryItem billing,
          ImmediateCartSummaryItem? trialBilling,
          String? billingAgreement,
          String? tokenNotificationURL)
      recurring,
  required TResult Function(
          String description,
          String managementUrl,
          String label,
          String reloadAmount,
          String thresholdAmount,
          String? billingAgreement,
          String? tokenNotificationURL)
      automaticReload,
  required TResult Function(List<ApplePayMultiMerchant> merchants)
      multiMerchant,
}) =>
    throw _privateConstructorUsedError;