PlaceAutocompletePrediction class abstract

Constructors

PlaceAutocompletePrediction([void updates(PlaceAutocompletePredictionBuilder b)])
factory

Properties

description String?
Contains the human-readable name for the returned result. For establishment results, this is usually the business name. This content is meant to be read as-is. Do not programmatically parse the formatted address.
no setter
hashCode int
The hash code for this object.
no setterinherited
matchedSubstrings → BuiltList<PlaceAutocompleteMatchedSubstring>?
A list of substrings that describe the location of the entered term in the prediction result text, so that the term can be highlighted if desired.
no setter
placeId String?
A textual identifier that uniquely identifies a place. To retrieve information about the place, pass this identifier in the placeId field of a Places API request. For more information about place IDs, see the Place IDs overview.
no setter
reference String?
(Deprecated) See place_id.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
structuredFormatting PlaceAutocompleteStructuredFormat?
no setter
terms → BuiltList<PlaceAutocompleteTerm>?
Contains an array of terms identifying each section of the returned description (a section of the description is generally terminated with a comma). Each entry in the array has a value field, containing the text of the term, and an offset field, defining the start position of this term in the description, measured in Unicode characters.
no setter
types → BuiltList<String>?
Contains an array of types that apply to this place. For example: [ \"political\", \"locality\" ] or [ \"establishment\", \"geocode\", \"beauty_salon\" ]. The array can contain multiple values. Learn more about Place types.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(PlaceAutocompletePredictionBuilder)) PlaceAutocompletePrediction
Rebuilds the instance.
inherited
toBuilder() PlaceAutocompletePredictionBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<PlaceAutocompletePrediction>
no setter