GoogleMapsPlacesV1AutocompletePlacesRequest class

Request proto for AutocompletePlaces.

Constructors

GoogleMapsPlacesV1AutocompletePlacesRequest({bool? includeQueryPredictions, List<String>? includedPrimaryTypes, List<String>? includedRegionCodes, String? input, int? inputOffset, String? languageCode, GoogleMapsPlacesV1AutocompletePlacesRequestLocationBias? locationBias, GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction? locationRestriction, GoogleTypeLatLng? origin, String? regionCode, String? sessionToken})
GoogleMapsPlacesV1AutocompletePlacesRequest.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
includedPrimaryTypes List<String>?
Included primary Place type (for example, "restaurant" or "gas_station") in Place Types (https://developers.google.com/maps/documentation/places/web-service/place-types), or only (regions), or only (cities).
getter/setter pair
includedRegionCodes List<String>?
Only include results in the specified regions, specified as up to 15 CLDR two-character region codes.
getter/setter pair
includeQueryPredictions bool?
If true, the response will include both Place and query predictions.
getter/setter pair
input String?
The text string on which to search.
getter/setter pair
inputOffset int?
A zero-based Unicode character offset of input indicating the cursor position in input.
getter/setter pair
languageCode String?
The language in which to return results.
getter/setter pair
locationBias GoogleMapsPlacesV1AutocompletePlacesRequestLocationBias?
Bias results to a specified location.
getter/setter pair
locationRestriction GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction?
Restrict results to a specified location.
getter/setter pair
origin GoogleTypeLatLng?
The origin point from which to calculate geodesic distance to the destination (returned as distance_meters).
getter/setter pair
regionCode String?
The region code, specified as a CLDR two-character region code.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionToken String?
A string which identifies an Autocomplete session for billing purposes.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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