Ticket constructor

Ticket({
  1. String id = '',
  2. String eventId = '',
  3. String eventName = '',
  4. String buyerProfileId = '',
  5. String buyerName = '',
  6. int purchaseDate = 0,
  7. String paymentTransactionId = '',
  8. Price? pricePaid,
  9. bool checkedIn = false,
  10. int checkInDate = 0,
})

Implementation

Ticket({
  this.id = '',
  this.eventId = '',
  this.eventName = '',
  this.buyerProfileId = '',
  this.buyerName = '',
  this.purchaseDate = 0,
  this.paymentTransactionId = '',
  this.pricePaid,
  this.checkedIn = false,
  this.checkInDate = 0,
});