countryCodes static method

List<CountryDetails?> countryCodes()

A list of country data for every country

Implementation

static List<CountryDetails?> countryCodes() {
  return codes.values.map((each) => CountryDetails.fromMap(each)).toList();
}