Airport class

Constructors

Airport({int? id, String? iata, String? icao, String? name, String? location, String? streetNumber, String? street, String? city, String? county, String? state, String? countryIso, String? country, String? postalCode, String? phone, double? latitude, double? longitude, int? uct, String? website})
Airport.fromJson(Map<String, dynamic> json)
Converts a JSON object to an Airport object.

Properties

city ↔ String?
getter/setter pair
country ↔ String?
getter/setter pair
countryIso ↔ String?
Country code in ISO 3166-2 format.
getter/setter pair
county ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
iata ↔ String?
Three-letter code issued by the International Air Transport Association.
getter/setter pair
icao ↔ String?
Four-letter code issued by the International Civil Aviation Organization.
getter/setter pair
id ↔ int?
getter/setter pair
latitude ↔ double?
getter/setter pair
location ↔ String?
Location of the airport without address information.
getter/setter pair
longitude ↔ double?
getter/setter pair
name ↔ String?
getter/setter pair
phone ↔ String?
Public phone number for the airport.
getter/setter pair
postalCode ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ String?
getter/setter pair
street ↔ String?
getter/setter pair
streetNumber ↔ String?
getter/setter pair
uct ↔ int?
getter/setter pair
website ↔ String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited