PlaceAutocompleteRequestOptions class

Constructors

PlaceAutocompleteRequestOptions({List<String>? components, String? language, LatLng? location, int? offset, LatLng? origin, double? radius, String? region, String? sessiontoken, bool? strictbounds, List<String>? types})

Properties

components List<String>?
A grouping of countries to which you would like to restrict your results.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
language String?
The language in which to return results.
getter/setter pair
location ↔ LatLng?
The point around which to retrieve place information. Radius must be specified.
getter/setter pair
offset int?
The position, in the input term, of the last character that the service uses to match predictions.
getter/setter pair
origin ↔ LatLng?
The origin point from which to calculate straight-line distance to the destination (returned as distance_meters).
getter/setter pair
radius double?
Defines the distance (in meters) within which to return place results.
getter/setter pair
region String?
The region code, specified as a ccTLD ("top-level domain") two-character value.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessiontoken String?
A random string which identifies an autocomplete session for billing purposes.
getter/setter pair
strictbounds bool?
Returns only those places that are strictly within the region defined by location and radius.
getter/setter pair
types List<String>?
Restrict results from a Place Autocomplete request to be of a certain type or a type collection, as listed in Place Types.
getter/setter pair

Methods

formatComponents(List<String>? components) String
formatTypes(List<String>? types) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited