AppMetricaECommerceCartItem constructor

const AppMetricaECommerceCartItem({
  1. required AppMetricaECommerceProduct product,
  2. required Decimal quantity,
  3. required AppMetricaECommercePrice revenue,
  4. AppMetricaECommerceReferrer? referrer,
})

Creates an object with information about the product in the cart. The parameters product, quantity, revenue are required.

Implementation

const AppMetricaECommerceCartItem(
    {required this.product,
    required this.quantity,
    required this.revenue,
    this.referrer});