searchPoiId method

Future<PoiItem> searchPoiId(
  1. String id
)

按id搜索poi

Implementation

Future<PoiItem> searchPoiId(String id) {
  L.p('searchPoiId dart端参数: id -> $id');

  return _searchChannel.invokeMethod('search#searchPoiId', {'id': id}).then((result) => result).then((jsonString) => PoiItem.fromJson(jsonDecode(jsonString)));
}