BoardingPassLeg class final
One flight of a BoardingPassContent.
- Annotations
Constructors
Properties
- bookingReference → String
-
The booking reference (PNR), such as
ABC123.final - cabin → String
-
The compartment code, such as
Y(economy) orC(business).final - carrier → String
-
The IATA code of the airline, such as
LH.final - dayOfYear → int?
-
The day of the flight in its year (1–366), as the pass gives it;
nullif not given. The pass does not say which year.final - flightNumber → String
-
The flight number without leading zeros, such as
1234or12A.final - from → String
-
The IATA code of the departure airport, such as
EVN.final - hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seat → String
-
The seat without leading zeros, such as
12A; empty if not assigned.final - sequenceNumber → String
-
The check-in sequence number without leading zeros.
final
- to → String
-
The IATA code of the arrival airport.
final
Methods
-
dateIn(
int year) → DateTime? -
dayOfYear as a date in
year. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override