AddToCartEvent constructor

AddToCartEvent({
  1. String? cartID,
  2. List<Product>? products,
  3. String? currency,
  4. num? totalValue,
  5. num? totalQuantity,
  6. EventOption? option,
})

Implementation

AddToCartEvent({
  this.cartID,
  this.products,
  this.currency,
  this.totalValue,
  this.totalQuantity,
  EventOption? option,
}) : super(CATEGORY, option: option);