EventTicketObject class

Constructors

EventTicketObject({AppLinkData? appLinkData, Barcode? barcode, String? classId, EventTicketClass? classReference, bool? disableExpirationNotification, Money? faceValue, GroupingInfo? groupingInfo, bool? hasLinkedDevice, bool? hasUsers, Image? heroImage, String? hexBackgroundColor, String? id, List<ImageModuleData>? imageModulesData, InfoModuleData? infoModuleData, String? kind, List<String>? linkedOfferIds, LinksModuleData? linksModuleData, List<LatLongPoint>? locations, List<Message>? messages, PassConstraints? passConstraints, EventReservationInfo? reservationInfo, RotatingBarcode? rotatingBarcode, EventSeat? seatInfo, String? smartTapRedemptionValue, String? state, List<TextModuleData>? textModulesData, String? ticketHolderName, String? ticketNumber, LocalizedString? ticketType, TimeInterval? validTimeInterval, String? version})
EventTicketObject.fromJson(Map json_)

Properties

appLinkData AppLinkData?
Optional app or website link that will be displayed as a button on the front of the pass.
getter/setter pair
barcode Barcode?
The barcode type and value.
getter/setter pair
classId String?
The class associated with this object.
getter/setter pair
classReference EventTicketClass?
A copy of the inherited fields of the parent class.
getter/setter pair
disableExpirationNotification bool?
Indicates if notifications should explicitly be suppressed.
getter/setter pair
faceValue Money?
The face value of the ticket, matching what would be printed on a physical version of the ticket.
getter/setter pair
groupingInfo GroupingInfo?
Information that controls how passes are grouped together.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasLinkedDevice bool?
Whether this object is currently linked to a single device.
getter/setter pair
hasUsers bool?
Indicates if the object has users.
getter/setter pair
heroImage Image?
Optional banner image displayed on the front of the card.
getter/setter pair
hexBackgroundColor String?
The background color for the card.
getter/setter pair
id String?
The unique identifier for an object.
getter/setter pair
imageModulesData List<ImageModuleData>?
Image module data.
getter/setter pair
infoModuleData InfoModuleData?
Use textModulesData instead.
getter/setter pair
kind String?
Identifies what kind of resource this is.
getter/setter pair
linkedOfferIds List<String>?
A list of offer objects linked to this event ticket.
getter/setter pair
linksModuleData LinksModuleData?
Links module data.
getter/setter pair
locations List<LatLongPoint>?
Note: This field is currently not supported to trigger geo notifications.
getter/setter pair
messages List<Message>?
An array of messages displayed in the app.
getter/setter pair
passConstraints PassConstraints?
Pass constraints for the object.
getter/setter pair
reservationInfo EventReservationInfo?
Reservation details for this ticket.
getter/setter pair
rotatingBarcode RotatingBarcode?
The rotating barcode type and value.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seatInfo EventSeat?
Seating details for this ticket.
getter/setter pair
smartTapRedemptionValue String?
The value that will be transmitted to a Smart Tap certified terminal over NFC for this object.
getter/setter pair
state String?
The state of the object.
getter/setter pair
textModulesData List<TextModuleData>?
Text module data.
getter/setter pair
ticketHolderName String?
Name of the ticket holder, if the ticket is assigned to a person.
getter/setter pair
ticketNumber String?
The number of the ticket.
getter/setter pair
ticketType LocalizedString?
The type of the ticket, such as "Adult" or "Child", or "VIP" or "Standard".
getter/setter pair
validTimeInterval TimeInterval?
The time period this object will be active and object can be used.
getter/setter pair
version String?
Deprecated
getter/setter pair

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