Country class
Constructors
-
Country({String? name, String? officialName, String? nativeName, String? alpha2Code, String? alpha3Code, String? numericCode, bool? independent, bool? unMember, List<
String> ? topLevelDomain, List<String> ? callingCodes, CurrencyList? currnecies, String? capital, String? region, String? subRegion, double? area, List<String> ? flags, String? flagIcon, String? olympicCode, List<double> ? coordinates, Map<String, String> ? translations, double? latitude, double? longitude, List<String> ? altSpellings, bool? landLocked, List<String> ? borders, String? demonym, TimeZoneList? timeZones}) -
Country.fromJosn(Map<
String, dynamic> json) -
factory
Properties
- alpha2Code → String?
-
final
- alpha3Code → String?
-
final
-
altSpellings
→ List<
String> ? -
final
- area → double?
-
final
-
borders
→ List<
String> ? -
final
-
callingCodes
→ List<
String> ? -
final
- capital → String?
-
final
-
coordinates
→ List<
double> ? -
final
- currnecies → CurrencyList?
-
final
- demonym → String?
-
final
- flagIcon → String?
-
final
-
flags
→ List<
String> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- independent → bool?
-
final
- landLocked → bool?
-
final
- latitude → double?
-
final
- longitude → double?
-
final
- name → String?
-
final
- nativeName → String?
-
final
- numericCode → String?
-
final
- officialName → String?
-
final
- olympicCode → String?
-
final
- region → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subRegion → String?
-
final
- timeZones → TimeZoneList?
-
final
-
topLevelDomain
→ List<
String> ? -
final
-
translations
→ Map<
String, String> ? -
final
- unMember → bool?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
translate(
String code) → String?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited