poiCitySearch method

dynamic poiCitySearch({
  1. required void onGetPoiCitySearchResult(
    1. List<TIMPoiInfo>?,
    2. bool
    ),
  2. required String keyword,
  3. required String city,
})

Implementation

poiCitySearch({
  required void Function(List<TIMPoiInfo>?, bool) onGetPoiCitySearchResult,
  required String keyword,
  required String city,
}) async {
  service.poiCitySearch(
      onGetPoiCitySearchResult: onGetPoiCitySearchResult,
      keyword: keyword,
      city: city);
}