Product constructor

Product({
  1. required String productId,
  2. required ProductType type,
  3. required String amountLabel,
  4. int? price,
  5. required String currency,
  6. required String imageUrl,
  7. required String title,
  8. String? description,
})

Implementation

Product({
  required this.productId,
  required this.type,
  required this.amountLabel,
  this.price,
  required this.currency,
  required this.imageUrl,
  required this.title,
  this.description,
});