Item class

Constructors

Item({int? id, String? productName, String? productImage, String? productCode, String? productBarcode, String? combinationName, dynamic price, dynamic qty, dynamic vat, bool? vatExempted, dynamic supplierPrice, dynamic margin, bool? isSubscription, List<ItemVariant>? itemVariants, String? thumbnail, String? medium})
Item.fromMap(Map<String, dynamic> json)
factory

Properties

combinationName String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
isSubscription bool?
getter/setter pair
itemVariants List<ItemVariant>?
getter/setter pair
margin ↔ dynamic
getter/setter pair
medium String?
getter/setter pair
price ↔ dynamic
getter/setter pair
productBarcode String?
getter/setter pair
productCode String?
getter/setter pair
productImage String?
getter/setter pair
productName String?
getter/setter pair
qty ↔ dynamic
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supplierPrice ↔ dynamic
getter/setter pair
thumbnail String?
getter/setter pair
vat ↔ dynamic
getter/setter pair
vatExempted bool?
getter/setter pair

Methods

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

Operators

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