Country class abstract

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?
no setter
alpha3Code Alpha3Code?
no setter
altSpellings → BuiltList<String>?
no setter
area double?
no setter
borders → BuiltList<String>?
no setter
callingCodes → BuiltList<String>?
no setter
capital String?
no setter
cioc String?
no setter
currencies → BuiltList<Currencies>?
no setter
demonym String?
no setter
flag String?
no setter
gini double?
no setter
hashCode int
The hash code for this object.
no setterinherited
languages → BuiltList<Languages>?
no setter
latlng → BuiltList<double>?
no setter
name String?
no setter
nativeName String?
no setter
numericCode String?
no setter
population int?
no setter
region String?
no setter
regionalBlocs → BuiltList<RegionalBlocs>?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subregion String?
no setter
timezones → BuiltList<String>?
no setter
topLevelDomain → BuiltList<String>?
no setter
translations → BuiltMap<LanguageCode, String>?
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<Country>
no setter

Static Methods

fromJson(String jsonString) Country?