TicketRawAbstract<I extends ItemAbstract<ArticleRawAbstract> , T extends TaxAbstract> constructor
const
TicketRawAbstract<I extends ItemAbstract<ArticleRawAbstract> , T extends TaxAbstract> ({
- required int id,
- required List<
I> items, - required T taxe,
- double promo = 0.0,
- String comment = '',
- required num received,
- required DateTime date,
- required int contactId,
- required PaymentType paymentType,
- required TicketType ticketType,
- required bool status,
- required DateTime? statusUpdateDate,
- 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,
});