AppStorePurchaseParam constructor

AppStorePurchaseParam({
  1. required ProductDetails productDetails,
  2. String? applicationUserName,
  3. int quantity = 1,
  4. bool simulatesAskToBuyInSandbox = false,
  5. SKPaymentDiscountWrapper? discount,
})

Creates a new AppStorePurchaseParam object with the given data.

Implementation

AppStorePurchaseParam({
  required super.productDetails,
  super.applicationUserName,
  this.quantity = 1,
  this.simulatesAskToBuyInSandbox = false,
  this.discount,
});