FawryItem constructor

FawryItem({
  1. required String sku,
  2. required String description,
  3. required int qty,
  4. required double price,
  5. double? originalPrice,
  6. int? height,
  7. int? length,
  8. double? weight,
  9. int? width,
  10. String? variantCode,
  11. List<String>? reservationCodes,
  12. String? earningRuleID,
  13. String? imageUrl,
})

FawryItem constructor.

sku sets the item id. description sets the item description. qty sets the quantity of the item. price sets the price for one item.

Implementation

FawryItem({
  required this.sku,
  required this.description,
  required this.qty,
  required this.price,
  this.originalPrice,
  this.height,
  this.length,
  this.weight,
  this.width,
  this.variantCode,
  this.reservationCodes,
  this.earningRuleID,
  this.imageUrl,
});