SKPaymentWrapper constructor

const SKPaymentWrapper({
  1. required String productIdentifier,
  2. String? applicationUsername,
  3. String? requestData,
  4. int quantity = 1,
  5. bool simulatesAskToBuyInSandbox = false,
  6. SKPaymentDiscountWrapper? paymentDiscount,
})

Creates a new SKPaymentWrapper with the provided information.

Implementation

const SKPaymentWrapper({
  required this.productIdentifier,
  this.applicationUsername,
  this.requestData,
  this.quantity = 1,
  this.simulatesAskToBuyInSandbox = false,
  this.paymentDiscount,
});