FlightPurchasedProduct class

Constructors

FlightPurchasedProduct({String? name, String? countryCode, String? logoUrl, FlightPurchasedInputs? inputs, FlightPurchasedDetails? details})
Returns a new FlightPurchasedProduct instance.

Properties

countryCode ↔ String?
ISO 3166-1 alpha-2 country the trip goes to, as search gives it; null when unknown.
getter/setter pair
details ↔ FlightPurchasedDetails?
The flights, the fare's terms, the paid extras and what the item cost.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
inputs ↔ FlightPurchasedInputs?
The item's inputs as applied, with contacts and document numbers masked.
getter/setter pair
logoUrl ↔ String?
The owning airline's logo, an image OpenRoam hosts, or null.
getter/setter pair
name ↔ String?
The name the quote gave the fare, \"{route} · {dates} · {fare}\".
getter/setter pair
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
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) → FlightPurchasedProduct?
Returns a new FlightPurchasedProduct instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<FlightPurchasedProduct>
mapFromJson(dynamic json) → Map<String, FlightPurchasedProduct>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<FlightPurchasedProduct>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.