ItineraryDetails class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
marketingCarriers
↔ List<
Airline> -
Airlines that market a segment.
getter/setter pair
-
operatingCarriers
↔ List<
Airline> -
Airlines that fly a segment.
getter/setter pair
- owner ↔ Airline?
-
The airline that sells the itinerary.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
slices
↔ List<
Slice> -
The flights of the trip, in order. Fare facts (cabin and baggage per segment, fare basis) are on each offer.
getter/setter pair
- totalDurationMinutes ↔ int?
-
Flying and connection time across all slices.
getter/setter pair
- totalEmissionsKg ↔ num?
-
The CO₂ estimate for all passengers on this itinerary, as given with its cheapest fare; null when not given.
getter/setter pair
- totalStops ↔ int?
-
Connections across all slices.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → ItineraryDetails? -
Returns a new ItineraryDetails instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ItineraryDetails> -
mapFromJson(
dynamic json) → Map< String, ItineraryDetails> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ItineraryDetails> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.