Country class

Constructors

Country({required String iso_3166_1_alpha2, required String iso_3166_1_alpha3, required String iso_3166_1_numeric, required Name name, Map<Language, Name>? natives, Map<Language, Name>? translations, List<String>? alt_spellings, required String cioc, required String status, List<String>? capital, bool unMember = false, List<Currency>? currencies, Dialling? dialling, Geographical? geographical, List<Language>? languages, Population? population, Extra? extra, List<Province>? provinces, VATRate? vat_rates, List<TimeZone>? timezones, required String emoji, required String emojiU, required String wikiLink, Demonym? demonyms})

Properties

alt_spellings List<String>?
Alternative spellings
final
capital List<String>?
Capital city
final
cioc String
International Olympic Committee code.
getter/setter pair
currencies List<Currency>?
List of official currencies.
final
demonyms Demonym?
A name used to denote the inhabitants of a place
final
dialling Dialling?
Dialing code and national number lengths.
final
emoji String
8-bit Unicode Transformation Format
final
emojiU String
Formal_Unicode_Notation
final
extra Extra?
Extra informations.
final
geographical Geographical?
Geographical informations.
final
hashCode int
The hash code for this object.
no setterinherited
iso_3166_1_alpha2 String
ISO 3166-1 alpha-2 code.
final
iso_3166_1_alpha3 String
ISO 3166-1 alpha-3 code.
final
iso_3166_1_numeric String
ISO 3166-1 numeric code.
final
languages List<Language>?
List of official languages.
final
name Name
Name in english contains official name and common name.
final
natives Map<Language, Name>?
List of all native names key: Language object.
final
population Population?
Population informations.
final
provinces List<Province>?
States/Provinces information.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
final
timezones List<TimeZone>?
Time zones
getter/setter pair
tld List<String>
Country code top-level domain
final
translations Map<Language, Name>?
List of of name translation key: Language object.
final
unMember bool
United Nations member true and false
final
vat_rates VATRate?
VAT rates.
final
Relative link to country wikipedia page
final

Methods

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

Operators

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