PlacesTextSearchResponse class abstract

PlacesTextSearchResponse

Properties:

  • htmlAttributions - May contain a set of attributions about this listing which must be displayed to the user (some listings may not have attribution).
  • results - Contains an array of places. <div class="caution">Place Search requests return a subset of the fields that are returned by Place Details requests. If the field you want is not returned by Place Search, you can use Place Search to get a place_id, then use that Place ID to make a Place Details request.
  • status
  • errorMessage - When the service returns a status code other than OK<, there may be an additional error_message field within the response object. This field contains more detailed information about thereasons behind the given status code. This field is not always returned, and its content is subject to change.
  • infoMessages - When the service returns additional information about the request specification, there may be an additional info_messages field within the response object. This field is only returned for successful requests. It may not always be returned, and its content is subject to change.
  • nextPageToken - Contains a token that can be used to return up to 20 additional results. A next_page_token will not be returned if there are no additional results to display. The maximum number of results that can be returned is 60. There is a short delay between when a next_page_token is issued, and when it will become valid.

Constructors

PlacesTextSearchResponse([void updates(PlacesTextSearchResponseBuilder b)])
factory

Properties

errorMessage String?
When the service returns a status code other than OK<, there may be an additional error_message field within the response object. This field contains more detailed information about thereasons behind the given status code. This field is not always returned, and its content is subject to change.
no setter
hashCode int
The hash code for this object.
no setterinherited
htmlAttributions → BuiltList<String>
May contain a set of attributions about this listing which must be displayed to the user (some listings may not have attribution).
no setter
infoMessages → BuiltList<String>?
When the service returns additional information about the request specification, there may be an additional info_messages field within the response object. This field is only returned for successful requests. It may not always be returned, and its content is subject to change.
no setter
nextPageToken String?
Contains a token that can be used to return up to 20 additional results. A next_page_token will not be returned if there are no additional results to display. The maximum number of results that can be returned is 60. There is a short delay between when a next_page_token is issued, and when it will become valid.
no setter
results → BuiltList<Place>
Contains an array of places. <div class="caution">Place Search requests return a subset of the fields that are returned by Place Details requests. If the field you want is not returned by Place Search, you can use Place Search to get a place_id, then use that Place ID to make a Place Details request.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status PlacesSearchStatus
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(PlacesTextSearchResponseBuilder)) PlacesTextSearchResponse
Rebuilds the instance.
inherited
toBuilder() PlacesTextSearchResponseBuilder
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<PlacesTextSearchResponse>
no setter