ProductDetail constructor

const ProductDetail({
  1. required String productId,
  2. required ProductType productType,
  3. required String title,
  4. required String price,
  5. required String priceCurrencyCode,
  6. required String priceAmountMicros,
  7. required String subscriptionPeriod,
  8. String? subscriptionPeriodUnitCode,
  9. required String freeTrialPeriod,
  10. required String promotionPrice,
  11. required String promotionPriceMicros,
  12. required String promotionUsePeriod,
  13. required String paymentGracePeriod,
})

Implementation

const ProductDetail({
  required this.productId,
  required this.productType,
  required this.title,
  required this.price,
  required this.priceCurrencyCode,
  required this.priceAmountMicros,
  required this.subscriptionPeriod,
  this.subscriptionPeriodUnitCode,
  required this.freeTrialPeriod,
  required this.promotionPrice,
  required this.promotionPriceMicros,
  required this.promotionUsePeriod,
  required this.paymentGracePeriod,
});