Country constructor

Country({
  1. required String iso_3166_1_alpha2,
  2. required String iso_3166_1_alpha3,
  3. required String iso_3166_1_numeric,
  4. required Name name,
  5. Map<Language, Name>? natives,
  6. Map<Language, Name>? translations,
  7. List<String>? alt_spellings,
  8. required String cioc,
  9. required String status,
  10. List<String>? capital,
  11. bool unMember = false,
  12. List<Currency>? currencies,
  13. Dialling? dialling,
  14. Geographical? geographical,
  15. List<Language>? languages,
  16. Population? population,
  17. Extra? extra,
  18. List<Province>? provinces,
  19. VATRate? vat_rates,
  20. List<TimeZone>? timezones,
  21. required String emoji,
  22. required String emojiU,
  23. required String wikiLink,
  24. Demonym? demonyms,
})

Implementation

Country({
  required this.iso_3166_1_alpha2,
  required this.iso_3166_1_alpha3,
  required this.iso_3166_1_numeric,
  required this.name,
  this.natives,
  this.translations,
  this.alt_spellings,
  required this.cioc,
  required this.status,
  this.capital,
  // required this.tld,
  this.unMember = false,
  this.currencies,
  this.dialling,
  this.geographical,
  this.languages,
  this.population,
  this.extra,
  this.provinces,
  this.vat_rates,
  this.timezones,
  required this.emoji,
  required this.emojiU,
  required this.wikiLink,
  this.demonyms,
});