addCartItemEvent static method

Creates an E-Commerce event AddCartItemEvent.

Use it to inform about the addition of an item to the cart.

Implementation

static AppMetricaECommerceEvent addCartItemEvent(AppMetricaECommerceCartItem cartItem) {
  return ECommerceConstructors.addCartItemEvent(cartItem);
}