ECommerceProduct constructor

const ECommerceProduct({
  1. required String sku,
  2. String? name,
  3. List<String>? categoriesPath,
  4. Map<String, String>? payload,
  5. ECommercePrice? actualPrice,
  6. ECommercePrice? originalPrice,
  7. List<String>? promocodes,
})

Creates an object with information about the product. sku is a required parameter.

Implementation

const ECommerceProduct(
    {required this.sku,
    this.name,
    this.categoriesPath,
    this.payload,
    this.actualPrice,
    this.originalPrice,
    this.promocodes});