AppMetricaECommerce class

Class for creating E-Commerce events of various types.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

addCartItemEvent(AppMetricaECommerceCartItem cartItem) AppMetricaECommerceEvent
Creates an E-Commerce event AddCartItemEvent.
beginCheckoutEvent(AppMetricaECommerceOrder order) AppMetricaECommerceEvent
Creates E-Commerce events BeginCheckoutEvent. Use it to inform about the start of the purchase.
purchaseEvent(AppMetricaECommerceOrder order) AppMetricaECommerceEvent
Creates E-Commerce PurchaseEvent events. Use it to inform about the completion of the purchase.
removeCartItemEvent(AppMetricaECommerceCartItem cartItem) AppMetricaECommerceEvent
Creates E-Commerce RemoveCartItemEvent events. Use it to report the removal of an item from the cart.
showProductCardEvent(AppMetricaECommerceProduct product, AppMetricaECommerceScreen screen) AppMetricaECommerceEvent
Creates an E-Commerce event ShowProductCardEvent.
showProductDetailsEvent(AppMetricaECommerceProduct product, AppMetricaECommerceReferrer? referrer) AppMetricaECommerceEvent
Creates an E-Commerce event ShowProductDetailsEvent.
showScreenEvent(AppMetricaECommerceScreen screen) AppMetricaECommerceEvent
Creates E-Commerce ShowScreenEvent events.