ECommerceCartItem class
Class with information about the product in the cart:
Constructors
- ECommerceCartItem({required ECommerceProduct product, required Decimal quantity, required ECommercePrice revenue, ECommerceReferrer? 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 → ECommerceProduct
-
final
- quantity → Decimal
-
final
- referrer → ECommerceReferrer?
-
final
- revenue → ECommercePrice
-
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