Country class

Country regroup informations for displaying a list of countries

Constructors

Country(IsoCode isoCode)
const
Country.fromJson(String source)
factory
Country.fromMap(Map<String, dynamic> map)
factory

Properties

capital String
no setter
continent String
no setter
countryCode String
country calling code to call them internationally
no setter
currencyCode String
no setter
displayDialCode String
returns "+ countryCode"
no setter
flag String
emoji flag
no setter
hashCode int
The hash code for this object.
no setterinherited
isoCode IsoCode
final
languages List<String>
no setter
name String
English name of the country
no setter
nativeName String
The naame as the native would spell it
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() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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