searchCitiesByNameSi function

List<Cities> searchCitiesByNameSi(
  1. String name
)

Implementation

List<Cities> searchCitiesByNameSi(String name) {
  return slCities
      .where((location) =>
          location.nameSi.toLowerCase().contains(name.toLowerCase()))
      .toList();
}