ProductCardItem constructor

const ProductCardItem({
  1. required String id,
  2. required String name,
  3. required num price,
  4. required String currency,
  5. num? compareAtPrice,
  6. String? imageUrl,
  7. String? url,
  8. String? sku,
  9. String? appStoreProductId,
  10. String? googlePlayProductId,
  11. String? basePlanId,
  12. String? offerId,
  13. String? billingPeriod,
  14. int? trialDays,
})

Creates a product.

Implementation

const ProductCardItem({
  required this.id,
  required this.name,
  required this.price,
  required this.currency,
  this.compareAtPrice,
  this.imageUrl,
  this.url,
  this.sku,
  this.appStoreProductId,
  this.googlePlayProductId,
  this.basePlanId,
  this.offerId,
  this.billingPeriod,
  this.trialDays,
});