Country class

Implemented types

Constructors

Country([dynamic updates(CountryBuilder b)])
factory
Country.manual({String name, BuiltList<String> topLevelDomain, Alpha2Code alpha2Code, Alpha3Code alpha3Code, BuiltList<String> callingCodes, String capital, BuiltList<String> altSpellings, String region, String subregion, int population, BuiltList<double> latlng, String demonym, double area, double gini, BuiltList<String> timezones, BuiltList<String> borders, String nativeName, String numericCode, BuiltList<Currencies> currencies, BuiltList<Languages> languages, BuiltMap<LanguageCode, String> translations, String flag, BuiltList<RegionalBlocs> regionalBlocs, String cioc})
factory

Properties

alpha2Code Alpha2Code
@BuiltValueField(wireName: 'alpha2Code'), @nullable, read-only
alpha3Code Alpha3Code
@BuiltValueField(wireName: 'alpha3Code'), @nullable, read-only
altSpellings → BuiltList<String>
@BuiltValueField(wireName: 'altSpellings'), @nullable, read-only
area → double
@BuiltValueField(wireName: 'area'), @nullable, read-only
borders → BuiltList<String>
@BuiltValueField(wireName: 'borders'), @nullable, read-only
callingCodes → BuiltList<String>
@BuiltValueField(wireName: 'callingCodes'), @nullable, read-only
capital → String
@BuiltValueField(wireName: 'capital'), @nullable, read-only
cioc → String
@BuiltValueField(wireName: 'cioc'), @nullable, read-only
currencies → BuiltList<Currencies>
@BuiltValueField(wireName: 'currencies'), @nullable, read-only
demonym → String
@BuiltValueField(wireName: 'demonym'), @nullable, read-only
flag → String
@BuiltValueField(wireName: 'flag'), @nullable, read-only
gini → double
@BuiltValueField(wireName: 'gini'), @nullable, read-only
hashCode → int
The hash code for this object. [...]
read-only, inherited
languages → BuiltList<Languages>
@BuiltValueField(wireName: 'languages'), @nullable, read-only
latlng → BuiltList<double>
@BuiltValueField(wireName: 'latlng'), @nullable, read-only
name → String
@BuiltValueField(wireName: 'name'), @nullable, read-only
nativeName → String
@BuiltValueField(wireName: 'nativeName'), @nullable, read-only
numericCode → String
@BuiltValueField(wireName: 'numericCode'), @nullable, read-only
population → int
@BuiltValueField(wireName: 'population'), @nullable, read-only
region → String
@BuiltValueField(wireName: 'region'), @nullable, read-only
regionalBlocs → BuiltList<RegionalBlocs>
@BuiltValueField(wireName: 'regionalBlocs'), @nullable, read-only
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
subregion → String
@BuiltValueField(wireName: 'subregion'), @nullable, read-only
timezones → BuiltList<String>
@BuiltValueField(wireName: 'timezones'), @nullable, read-only
topLevelDomain → BuiltList<String>
@BuiltValueField(wireName: 'topLevelDomain'), @nullable, read-only
translations → BuiltMap<LanguageCode, String>
@BuiltValueField(wireName: 'translations'), @nullable, read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
rebuild(dynamic updates(CountryBuilder)) Country
Rebuilds the instance. [...]
inherited
toBuilder() CountryBuilder
Converts the instance to a builder B. [...]
inherited
toJson() → String
toString() → String
Returns a string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<Country>
read-only

Static Methods

fromJson(String jsonString) Country