Country constructor

Country({
  1. String? name,
  2. String? officialName,
  3. String? nativeName,
  4. String? alpha2Code,
  5. String? alpha3Code,
  6. String? numericCode,
  7. bool? independent,
  8. bool? unMember,
  9. List<String>? topLevelDomain,
  10. List<String>? callingCodes,
  11. CurrencyList? currnecies,
  12. String? capital,
  13. String? region,
  14. String? subRegion,
  15. double? area,
  16. List<String>? flags,
  17. String? flagIcon,
  18. String? olympicCode,
  19. List<double>? coordinates,
  20. Map<String, String>? translations,
  21. double? latitude,
  22. double? longitude,
  23. List<String>? altSpellings,
  24. bool? landLocked,
  25. List<String>? borders,
  26. String? demonym,
  27. 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
    });