GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat class
Contains a breakdown of a Place or query prediction into main text and secondary text.
For Place predictions, the main text contains the specific name of the Place. For query predictions, the main text contains the query. The secondary text contains additional disambiguating features (such as a city or region) to further identify the Place or refine the query.
Constructors
- GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat({GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText? mainText, GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText? secondaryText})
- GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mainText ↔ GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText?
-
Represents the name of the Place or query.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryText ↔ GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText?
-
Represents additional disambiguating features (such as a city or region)
to further identify the Place or refine the query.
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