GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction class
Prediction results for a Place Autocomplete prediction.
Constructors
-
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction({int? distanceMeters, String? place, String? placeId, GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat? structuredFormat, GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText? text, List<
String> ? types}) - GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction.fromJson(Map json_)
Properties
- distanceMeters ↔ int?
-
The length of the geodesic in meters from
origin
iforigin
is specified.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- place ↔ String?
-
The resource name of the suggested Place.
getter/setter pair
- placeId ↔ String?
-
The unique identifier of the suggested Place.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- structuredFormat ↔ GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat?
-
A breakdown of the Place prediction into main text containing the name of
the Place and secondary text containing additional disambiguating features
(such as a city or region).
getter/setter pair
- text ↔ GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText?
-
Contains the human-readable name for the returned result.
getter/setter pair
-
types
↔ List<
String> ? -
List of types that apply to this Place from Table A or Table B in
https://developers.google.com/maps/documentation/places/web-service/place-types.
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