ArticleRetailOnTicket constructor

const ArticleRetailOnTicket({
  1. ArticleKind kind = ArticleKind.retail,
  2. required int calibreId,
  3. required int id,
  4. required num price,
  5. required num cost,
  6. bool status = true,
  7. required String designation,
  8. required double unitsInOnePiece,
})

Implementation

const ArticleRetailOnTicket({
  super.kind = ArticleKind.retail,
  required super.calibreId,
  required super.id,
  required super.price,
  required super.cost,
  super.status =
      true, // ! we need status here because in glimpse (e.g. glimpse_a_basket calibre use generic ArticleBasketRawAbstract)
  required super.designation,
  required super.unitsInOnePiece,
});