Leg class abstract
Leg
Properties:
- arrivalAirportCode - The IATA 3-letter airport code of the destination airport. This field is required if the airline data includes leg details.
- basicFareCode - The basic fare code for this leg.
- carrierCode - IATA code of the carrier operating the flight.
- departureAirportCode - The IATA three-letter airport code of the departure airport. This field is required if the airline data includes leg details
- departureDate - The flight departure date.
- flightNumber - The flight identifier.
- Annotations
-
- @BuiltValue.new()
Constructors
- Leg([void updates(LegBuilder b)])
-
factory
Properties
- arrivalAirportCode → String?
-
The IATA 3-letter airport code of the destination airport. This field is required if the airline data includes leg details.
no setter
- basicFareCode → String?
-
The basic fare code for this leg.
no setter
- carrierCode → String?
-
IATA code of the carrier operating the flight.
no setter
- departureAirportCode → String?
-
The IATA three-letter airport code of the departure airport. This field is required if the airline data includes leg details
no setter
- departureDate → String?
-
The flight departure date.
no setter
- flightNumber → String?
-
The flight identifier.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
rebuild(
dynamic updates(LegBuilder)) → Leg -
Rebuilds the instance.
inherited
-
toBuilder(
) → LegBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Leg> -
no setter