Ticket class

Constructors

Ticket({String id = '', String eventId = '', String eventName = '', String buyerProfileId = '', String buyerName = '', int purchaseDate = 0, String paymentTransactionId = '', Price? pricePaid, bool checkedIn = false, int checkInDate = 0})
Ticket.fromJSON(dynamic data)

Properties

buyerName ↔ String
getter/setter pair
buyerProfileId ↔ String
getter/setter pair
checkedIn ↔ bool
getter/setter pair
checkInDate ↔ int
getter/setter pair
eventId ↔ String
getter/setter pair
eventName ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
getter/setter pair
paymentTransactionId ↔ String
getter/setter pair
pricePaid ↔ Price?
getter/setter pair
purchaseDate ↔ int
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited