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

apiKey String
final
hashCode int
The hash code for this object.
no setterinherited
region String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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