ProductSchema constructor

const ProductSchema({
  1. required String name,
  2. String? description,
  3. String? image,
  4. List<String>? images,
  5. String? brand,
  6. String? sku,
  7. String? gtin,
  8. String? mpn,
  9. String? url,
  10. String? color,
  11. String? material,
  12. ProductOffer? offer,
  13. List<ProductOffer>? offers,
  14. AggregateRating? aggregateRating,
  15. List<ProductReview>? reviews,
  16. String? category,
})

Implementation

const ProductSchema({
  required this.name,
  this.description,
  this.image,
  this.images,
  this.brand,
  this.sku,
  this.gtin,
  this.mpn,
  this.url,
  this.color,
  this.material,
  this.offer,
  this.offers,
  this.aggregateRating,
  this.reviews,
  this.category,
});