StoreProduct constructor

const StoreProduct(
  1. String identifier,
  2. String description,
  3. String title,
  4. double price,
  5. String priceString,
  6. String currencyCode, {
  7. IntroductoryPrice? introductoryPrice,
  8. List<StoreProductDiscount>? discounts,
  9. ProductCategory? productCategory,
  10. SubscriptionOption? defaultOption,
  11. List<SubscriptionOption>? subscriptionOptions,
  12. PresentedOfferingContext? presentedOfferingContext,
  13. String? subscriptionPeriod,
})

Implementation

const StoreProduct(
  this.identifier,
  this.description,
  this.title,
  this.price,
  this.priceString,
  this.currencyCode, {
  this.introductoryPrice,
  this.discounts,
  this.productCategory,
  this.defaultOption,
  this.subscriptionOptions,
  this.presentedOfferingContext,
  this.subscriptionPeriod,
});