TicketScan constructor

TicketScan(
  1. {int? id,
  2. String? bookingNumber,
  3. int? eventId,
  4. String? eventImage,
  5. String? eventName,
  6. String? eventAddress,
  7. DateTime? startDate,
  8. String? startTime,
  9. String? endTime,
  10. int? userId,
  11. String? fullName,
  12. String? email,
  13. int? contactNumber,
  14. String? dateTime,
  15. List<Ticket>? tickets,
  16. String? quantity,
  17. String? price,
  18. String? subtotal,
  19. dynamic discount,
  20. String? totalPrice,
  21. String? status,
  22. String? paymentStatus,
  23. String? paymentType,
  24. dynamic couponData,
  25. String? createdAt,
  26. String? updatedAt}
)

Implementation

TicketScan({
  this.id,
  this.bookingNumber,
  this.eventId,
  this.eventImage,
  this.eventName,
  this.eventAddress,
  this.startDate,
  this.startTime,
  this.endTime,
  this.userId,
  this.fullName,
  this.email,
  this.contactNumber,
  this.dateTime,
  this.tickets,
  this.quantity,
  this.price,
  this.subtotal,
  this.discount,
  this.totalPrice,
  this.status,
  this.paymentStatus,
  this.paymentType,
  this.couponData,
  this.createdAt,
  this.updatedAt,
});