AmazonLocationClient class
Client for the Amazon Location Service GeoPlaces API v2.
Uses a static API key passed as a query parameter — no SigV4 signing needed.
Constructors
- AmazonLocationClient({required String apiKey, required String region, Client? httpClient})
Properties
Methods
-
autocomplete(
String query, {int maxResults = 5, LatLng? biasPosition, String? language}) → Future< List< AutocompleteResult> > -
Search for place suggestions matching
query. -
dispose(
) → void - Release the underlying HTTP client.
-
geocode(
String queryText, {String? language}) → Future< GeocodeResult?> - Geocode a text query and return the top result with coordinates.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited