getCountries static method

List<CountryModel> getCountries()

All geographic countries from country_picker (typically 240+).

Implementation

static List<CountryModel> getCountries() {
  return _service
      .getAll()
      .where((c) => !c.iswWorldWide)
      .map(fromCountry)
      .toList();
}