Item constructor

Item({
  1. int? id,
  2. String? productName,
  3. String? productImage,
  4. String? productCode,
  5. String? productBarcode,
  6. String? combinationName,
  7. dynamic price,
  8. dynamic qty,
  9. dynamic vat,
  10. bool? vatExempted,
  11. dynamic supplierPrice,
  12. dynamic margin,
  13. bool? isSubscription,
  14. List<ItemVariant>? itemVariants,
  15. String? thumbnail,
  16. String? medium,
})

Implementation

Item({
    this.id,
    this.productName,
    this.productImage,
    this.productCode,
    this.productBarcode,
    this.combinationName,
    this.price,
    this.qty,
    this.vat,
    this.vatExempted,
    this.supplierPrice,
    this.margin,
    this.isSubscription,
    this.itemVariants,
    this.thumbnail,
    this.medium,
});