Country constructor
Country({
- String? name,
- List<
String> ? topLevelDomain, - String? alpha2Code,
- String? alpha3Code,
- List<
String> ? callingCodes, - String? capital,
- List<
String> ? altSpellings, - String? subregion,
- String? region,
- int? population,
- List<
int> ? latlng, - String? demonym,
- int? area,
- List<
String> ? timezones, - List<
String> ? borders, - String? nativeName,
- String? numericCode,
- Flags? flags,
- List<
Currency> ? currencies, - List<
Language> ? languages, - Translations? translations,
- String? flag,
- List<
RegionalBloc> ? regionalBlocs, - String? cioc,
- bool? independent,
- List<
String> ? cities,
Implementation
Country({
this.name,
this.topLevelDomain,
this.alpha2Code,
this.alpha3Code,
this.callingCodes,
this.capital,
this.altSpellings,
this.subregion,
this.region,
this.population,
this.latlng,
this.demonym,
this.area,
this.timezones,
this.borders,
this.nativeName,
this.numericCode,
this.flags,
this.currencies,
this.languages,
this.translations,
this.flag,
this.regionalBlocs,
this.cioc,
this.independent,
this.cities,
});