reverseGeocoding method
Resolves to an Address
given a pair latitude
and longitude
.
Throws a GeocodeException.
Implementation
Future<Address> reverseGeocoding(
{required double latitude, required double longitude}) {
return _client
.reverseGeocoding(latitude, longitude, apiKey)
.then((address) => address)
.catchError((error) => throw error);
}