getCitiesForCountry method

List<City> getCitiesForCountry(
  1. int countryId
)

Implementation

List<City> getCitiesForCountry(int countryId) =>
    _cities?.cities.where((city) => city.countryId == countryId).toList() ??
    [];