TicketRawAbstract<I extends ItemAbstract<ArticleRawAbstract>, T extends TaxAbstract> constructor

const TicketRawAbstract<I extends ItemAbstract<ArticleRawAbstract>, T extends TaxAbstract>({
  1. required int id,
  2. required List<I> items,
  3. required T taxe,
  4. double promo = 0.0,
  5. String comment = '',
  6. required num received,
  7. required DateTime date,
  8. required int contactId,
  9. required PaymentType paymentType,
  10. required TicketType ticketType,
  11. required bool status,
  12. required DateTime? statusUpdateDate,
  13. required DateTime creationDate,
})

Implementation

const TicketRawAbstract({
  required this.id,
  required this.items,
  required this.taxe,
  this.promo = 0.0,
  this.comment = '',
  required this.received,
  required this.date,
  required this.contactId,
  required this.paymentType,
  required this.ticketType,
  required this.status,
  required this.statusUpdateDate,
  required this.creationDate,
});