ProductDetail constructor
const
ProductDetail({
- required String productId,
- required ProductType productType,
- required String title,
- required String price,
- required String priceCurrencyCode,
- required String priceAmountMicros,
- required String subscriptionPeriod,
- String? subscriptionPeriodUnitCode,
- required String freeTrialPeriod,
- required String promotionPrice,
- required String promotionPriceMicros,
- required String promotionUsePeriod,
- 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,
});