geocode static method
Places matching an address (Android, iOS, macOS). Empty when unavailable.
Implementation
static Future<List<UPlacemark>> geocode(String address, {String? locale}) async {
if (kIsWeb) return const <UPlacemark>[];
final List<Object?>? raw = await _call<List<Object?>>("geocode", <String, Object?>{"address": address, "locale": locale});
return (raw ?? <Object?>[]).whereType<Map<Object?, Object?>>().map(UPlacemark.fromMap).toList();
}