Country constructor
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,
Implementation
Country(
{this.name,
this.officialName,
this.nativeName,
this.alpha2Code,
this.alpha3Code,
this.numericCode,
this.independent,
this.unMember,
this.topLevelDomain,
this.callingCodes,
// this.languages,
this.currnecies,
this.capital,
this.region,
this.subRegion,
this.area,
this.flags,
this.flagIcon,
this.olympicCode,
this.coordinates,
this.translations,
this.latitude,
this.longitude,
this.altSpellings,
this.landLocked,
this.borders,
this.demonym,
this.timeZones
});