Product class

Constructors

Product({String productSKU, int price, int quantity, String status, String promoId, String productName, String variation})
Product.fromJson(Map<String, dynamic> json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
price int
read / write
productName String
read / write
productSKU String
read / write
promoId String
read / write
quantity int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status String
read / write
variation String
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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