Country constructor
Country({
- required String iso_3166_1_alpha2,
- required String iso_3166_1_alpha3,
- required String iso_3166_1_numeric,
- required Name name,
- Map<
Language, Name> ? natives, - Map<
Language, Name> ? translations, - List<
String> ? alt_spellings, - required String cioc,
- required String status,
- List<
String> ? capital, - bool unMember = false,
- List<
Currency> ? currencies, - Dialling? dialling,
- Geographical? geographical,
- List<
Language> ? languages, - Population? population,
- Extra? extra,
- List<
Province> ? provinces, - VATRate? vat_rates,
- List<
TimeZone> ? timezones, - required String emoji,
- required String emojiU,
- required String wikiLink,
- 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,
});