countryCodes static method
A list of country data for every country
Implementation
static List<CountryDetails> countryCodes() {
return codes.entries
.map((entry) => CountryDetails.fromMap(
entry.value, _localizedCountryNames[entry.key]))
.toList();
}