Location class

geoname_id : 5295903 capital : "Washington D.C." languages : {"code":"en","name":"English","native":"English"} country_flag : "http://assets.ipstack.com/flags/us.svg" country_flag_emoji : "πŸ‡ΊπŸ‡Έ" country_flag_emoji_unicode : "U+1F1FA U+1F1F8" calling_code : "1" is_eu : false

Constructors

Location.new({int? geonameId, String? capital, List<Languages>? languages, String? countryFlag, String? countryFlagEmoji, String? countryFlagEmojiUnicode, String? callingCode, bool? isEu})
Location.fromJson(dynamic json)

Properties

callingCode β†’ String?
no setter
capital β†’ String?
no setter
countryFlag β†’ String?
no setter
countryFlagEmoji β†’ String?
no setter
countryFlagEmojiUnicode β†’ String?
no setter
geonameId β†’ int?
no setter
hashCode β†’ int
The hash code for this object.
no setterinherited
isEu β†’ bool?
no setter
languages β†’ List<Languages>?
no setter
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.
inherited

Operators

operator ==(Object other) β†’ bool
The equality operator.
inherited