ProductSchema constructor
const
ProductSchema({
- required String name,
- String? description,
- String? image,
- List<
String> ? images, - String? brand,
- String? sku,
- String? gtin,
- String? mpn,
- String? url,
- String? color,
- String? material,
- ProductOffer? offer,
- List<
ProductOffer> ? offers, - AggregateRating? aggregateRating,
- List<
ProductReview> ? reviews, - 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,
});