Country class

Constructors

Country({int? id, String? name, String? iso3, String? iso2, String? numericCode, String? phoneCode, String? capital, String? currency, String? currencyName, String? currencySymbol, String? tld, String? native, String? region, String? subregion, List<Timezone>? timezones, Translations? translations, String? latitude, String? longitude, String? emoji, String? emojiU})
Country.fromJson(Map<String, dynamic> json)
factory
Country.fromRawJson(String str)
factory

Properties

capital String?
final
currency String?
final
currencyName String?
final
currencySymbol String?
final
emoji String?
final
emojiU String?
final
hashCode int
The hash code for this object.
no setterinherited
id int?
final
iso2 String?
final
iso3 String?
final
latitude String?
final
longitude String?
final
name String?
final
native String?
final
numericCode String?
final
phoneCode String?
final
region String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subregion String?
final
timezones List<Timezone>?
final
tld String?
final
translations Translations?
final

Methods

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

Operators

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