Localities class

Represents a class for interacting with the Woosmap Localities API.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
woosKey WoosKey
latefinal

Methods

autocomplete(LocalitiesAutocompleteRequest request) Future<LocalitiesAutocompleteResponse?>
Performs an autocomplete request for localities using the Woosmap API. @param LocalitiesAutocompleteRequest parameter - The request parameters for the autocomplete. @returns A Future of LocalitiesAutocompleteResponse - A future that resolves to the autocomplete response. @throws Error - If the input parameter is not provided.
details(LocalitiesDetailsRequest request) Future<LocalitiesDetailsResponse?>
Retrieves details for a specific locality based on the provided request parameters. @param LocalitiesDetailsRequest parameter - The request parameters for retrieving locality details. @returns A Future LocalitiesDetailsResponse - A Future that resolves to the response containing the locality details. @throws Error - If there is an error during the API call or if the publicId is missing.
geocode(LocalitiesGeocodeRequest request) Future<LocalitiesGeocodeResponse?>
Performs a geocoding and reverse geocoding request using the Woosmap Localities API. @param LocalitiesGeocodeRequest parameter - The geocoding request parameters. @returns A Future of LocalitiesGeocodeResponse - A future that resolves to the geocoding response. @throws Error - If neither an address nor a latLng parameter is provided.
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