AppMetricaECommerceCartItem class

Class with information about the product in the cart:

  • product - product;
  • quantity - quantity of the product, numeric value;
  • revenue — the total price of the product in the basket;
  • referrer — the source of the transition to the basket.

Constructors

AppMetricaECommerceCartItem({required AppMetricaECommerceProduct product, required Decimal quantity, required AppMetricaECommercePrice revenue, AppMetricaECommerceReferrer? referrer})
Creates an object with information about the product in the cart. The parameters product, quantity, revenue are required.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
product AppMetricaECommerceProduct
final
quantity → Decimal
final
referrer AppMetricaECommerceReferrer?
final
revenue AppMetricaECommercePrice
final
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