geoCityLookup method
Implementation
Future<GeoPoiLocationResp?> geoCityLookup(String location,
{String range = 'world', int number = 10}) async {
Map param = {
"location": location,
"range": range.isEmpty ? 'world' : range,
"number": Platform.isAndroid ? number : number.toString()
};
Map? value = await _methodChannel.invokeMapMethod(
MethodConstants.GeoCityLookup, param);
return value == null ? null : GeoPoiLocationResp.fromMap(value);
}