searchPoi method

Future<PoiResult> searchPoi(
  1. PoiSearchQuery query
)

搜索poi

Implementation

Future<PoiResult> searchPoi(PoiSearchQuery query) {
  L.p('方法searchPoi dart端参数: query.toJsonString() -> ${query.toJsonString()}');

  return _searchChannel.invokeMethod('search#searchPoi', {'query': query.toJsonString()}).then((result) => result).then((jsonString) => PoiResult.fromJson(jsonDecode(jsonString)));
}