ProductData class

Details of the products in an e-commerce transaction.

Constructors

ProductData({double? itemRevenue, String? productName, String? productQuantity, String? productSku})
ProductData.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
itemRevenue double?
The total revenue from purchased product items.
getter/setter pair
productName String?
The product name, supplied by the e-commerce tracking application, for the purchased items.
getter/setter pair
productQuantity String?
Total number of this product units in the transaction.
getter/setter pair
productSku String?
Unique code that represents the product.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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