searchV2 method
Searches for places matching the query using NLP and fuzzy geocoding (Search V2).
Optional location can be provided to prioritize/bias results near a coordinate.
skip and take control pagination.
Implementation
Future<List<PowerMapSearchResult>> searchV2(
String query, {
LatLng? location,
int skip = 0,
int take = 20,
String lang = 'auto',
}) async {
return await searchAPI.searchV2(
query,
location: location,
skip: skip,
take: take,
lang: lang,
);
}