PosArticle constructor

const PosArticle({
  1. required String id,
  2. required String name,
  3. required String unit,
  4. required bool visible,
  5. required int sort,
  6. required bool active,
  7. int? unitPriceCents,
  8. num? vatRate,
  9. String? groupId,
  10. String? revenueGroupId,
  11. QuantityRule? quantityRule,
  12. bool? askQuantity,
  13. num? maxQuantity,
  14. List<String>? stockLocationIds,
  15. String? number,
  16. String? ean,
  17. String? internalCode,
  18. bool? stockTracked,
})

Implementation

const PosArticle({
  required this.id,
  required this.name,
  required this.unit,
  required this.visible,
  required this.sort,
  required this.active,
  this.unitPriceCents,
  this.vatRate,
  this.groupId,
  this.revenueGroupId,
  this.quantityRule,
  this.askQuantity,
  this.maxQuantity,
  this.stockLocationIds,
  this.number,
  this.ean,
  this.internalCode,
  this.stockTracked,
});