ArticleRetail constructor

ArticleRetail({
  1. required int calibreId,
  2. required int id,
  3. required String designation,
  4. required num price,
  5. ArticleKind kind = ArticleKind.retail,
  6. num cost = 0,
  7. int? articleCode,
  8. required DateTime creationDate,
  9. DateTime? updateDate,
  10. DateTime? statusUpdateDate,
  11. bool status = true,
  12. double unitsInOnePiece = 1,
  13. String barcodeEAN = '',
})

Implementation

ArticleRetail({
  required super.calibreId,
  required super.id,
  required super.designation,
  required super.price,
  super.kind = ArticleKind.retail,
  super.cost = 0,
  this.articleCode,
  required this.creationDate,
  this.updateDate,
  this.statusUpdateDate,
  super.status = true,
  super.unitsInOnePiece = 1,
  this.barcodeEAN = '',
});