CityMatcher typedef

CityMatcher = bool Function(City city, String query)

Signature for a custom matcher that decides whether city matches the already-normalized query.

Implementation

typedef CityMatcher = bool Function(City city, String query);