ProductDetailsWrapper constructor

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

Creates a ProductDetailsWrapper with the given purchase details.

Implementation

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