Country constructor

Country({
  1. String? name,
  2. List<String>? topLevelDomain,
  3. String? alpha2Code,
  4. String? alpha3Code,
  5. List<String>? callingCodes,
  6. String? capital,
  7. List<String>? altSpellings,
  8. String? subregion,
  9. String? region,
  10. int? population,
  11. List<int>? latlng,
  12. String? demonym,
  13. int? area,
  14. List<String>? timezones,
  15. List<String>? borders,
  16. String? nativeName,
  17. String? numericCode,
  18. Flags? flags,
  19. List<Currency>? currencies,
  20. List<Language>? languages,
  21. Translations? translations,
  22. String? flag,
  23. List<RegionalBloc>? regionalBlocs,
  24. String? cioc,
  25. bool? independent,
  26. 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,
});