ProductDetailsWrapper constructor

const ProductDetailsWrapper({
  1. required String description,
  2. required String name,
  3. OneTimePurchaseOfferDetailsWrapper? oneTimePurchaseOfferDetails,
  4. List<OneTimePurchaseOfferDetailsWrapper>? oneTimePurchaseOfferDetailsList,
  5. required String productId,
  6. required ProductType productType,
  7. List<SubscriptionOfferDetailsWrapper>? subscriptionOfferDetails,
  8. required String title,
})

Creates a ProductDetailsWrapper with the given purchase details.

Implementation

const ProductDetailsWrapper({
  required this.description,
  required this.name,
  this.oneTimePurchaseOfferDetails,
  this.oneTimePurchaseOfferDetailsList,
  required this.productId,
  required this.productType,
  this.subscriptionOfferDetails,
  required this.title,
});