FlightObject class

Constructors

FlightObject({AppLinkData? appLinkData, Barcode? barcode, BoardingAndSeatingInfo? boardingAndSeatingInfo, String? classId, FlightClass? classReference, bool? disableExpirationNotification, GroupingInfo? groupingInfo, bool? hasLinkedDevice, bool? hasUsers, Image? heroImage, String? hexBackgroundColor, String? id, List<ImageModuleData>? imageModulesData, InfoModuleData? infoModuleData, String? kind, List<String>? linkedObjectIds, LinksModuleData? linksModuleData, List<LatLongPoint>? locations, List<MerchantLocation>? merchantLocations, List<Message>? messages, String? notifyPreference, PassConstraints? passConstraints, String? passengerName, ReservationInfo? reservationInfo, RotatingBarcode? rotatingBarcode, SaveRestrictions? saveRestrictions, String? smartTapRedemptionValue, String? state, List<TextModuleData>? textModulesData, TimeInterval? validTimeInterval, List<ValueAddedModuleData>? valueAddedModuleData, String? version})
FlightObject.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
boardingAndSeatingInfo ↔ BoardingAndSeatingInfo?
Passenger specific information about boarding and seating.
getter/setter pair
classId ↔ String?
The class associated with this object.
getter/setter pair
classReference ↔ FlightClass?
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
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
linkedObjectIds ↔ List<String>?
linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this flight object.
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
merchantLocations ↔ List<MerchantLocation>?
Merchant locations.
getter/setter pair
messages ↔ List<Message>?
An array of messages displayed in the app.
getter/setter pair
notifyPreference ↔ String?
Whether or not field updates to this object should trigger notifications.
getter/setter pair
passConstraints ↔ PassConstraints?
Pass constraints for the object.
getter/setter pair
passengerName ↔ String?
Passenger name as it would appear on the boarding pass.
getter/setter pair
reservationInfo ↔ ReservationInfo?
Information about flight reservation.
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
saveRestrictions ↔ SaveRestrictions?
Restrictions on the object that needs to be verified before the user tries to save the pass.
getter/setter pair
An image for the security program that applies to the passenger.
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
validTimeInterval ↔ TimeInterval?
The time period this object will be active and object can be used.
getter/setter pair
valueAddedModuleData ↔ List<ValueAddedModuleData>?
Optional value added module data.
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