GeocodingResult class abstract

GeocodingResult

Properties:

  • addressComponents - An array containing the separate components applicable to this address.
  • formattedAddress - The human-readable address of this location.
  • geometry
  • placeId - A unique identifier that can be used with other Google APIs. For example, you can use the place_id in a Places API request to get details of a local business, such as phone number, opening hours, user reviews, and more. See the place ID overview.
  • types - The types[] array indicates the type of the returned result. This array contains a set of zero or more tags identifying the type of feature returned in the result. For example, a geocode of "Chicago" returns "locality" which indicates that "Chicago" is a city, and also returns "political" which indicates it is a political entity.
  • plusCode
  • postcodeLocalities - An array denoting all the localities contained in a postal code. This is only present when the result is a postal code that contains multiple localities.
  • partialMatch - Indicates that the geocoder did not return an exact match for the original request, though it was able to match part of the requested address. You may wish to examine the original request for misspellings and/or an incomplete address. Partial matches most often occur for street addresses that do not exist within the locality you pass in the request. Partial matches may also be returned when a request matches two or more locations in the same locality.

Constructors

GeocodingResult([void updates(GeocodingResultBuilder b)])
factory

Properties

addressComponents → BuiltList<AddressComponent>
An array containing the separate components applicable to this address.
no setter
formattedAddress String
The human-readable address of this location.
no setter
geometry GeocodingGeometry
no setter
hashCode int
The hash code for this object.
no setterinherited
partialMatch bool?
Indicates that the geocoder did not return an exact match for the original request, though it was able to match part of the requested address. You may wish to examine the original request for misspellings and/or an incomplete address. Partial matches most often occur for street addresses that do not exist within the locality you pass in the request. Partial matches may also be returned when a request matches two or more locations in the same locality.
no setter
placeId String
A unique identifier that can be used with other Google APIs. For example, you can use the place_id in a Places API request to get details of a local business, such as phone number, opening hours, user reviews, and more. See the place ID overview.
no setter
plusCode PlusCode?
no setter
postcodeLocalities → BuiltList<String>?
An array denoting all the localities contained in a postal code. This is only present when the result is a postal code that contains multiple localities.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types → BuiltList<String>
The types[] array indicates the type of the returned result. This array contains a set of zero or more tags identifying the type of feature returned in the result. For example, a geocode of "Chicago" returns "locality" which indicates that "Chicago" is a city, and also returns "political" which indicates it is a political entity.
no setter

Methods

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