geoPoiLookup method
Implementation
Future<GeoPoiLocationResp?> geoPoiLookup(String location, PoiType type,
{String city = '', int number = 10}) async {
Map param = {
"location": location,
"city": city,
"number": Platform.isAndroid ? number : number.toString(),
"type": type.code
};
Map? value = await _methodChannel.invokeMapMethod(
MethodConstants.GeoPoiLookup, param);
return value == null ? null : GeoPoiLocationResp.fromMap(value);
}