LocationResult class Null safety

The result returned after completing location selection.

Constructors

LocationResult()

Properties

administrativeAreaLevel1 AddressComponent?
read / write
administrativeAreaLevel2 AddressComponent?
read / write
city AddressComponent?
read / write
country AddressComponent?
read / write
formattedAddress String?
Formatted address suggested by Google
read / write
hashCode int
The hash code for this object.
read-onlyinherited
latLng LatLng?
Latitude/Longitude of the selected location.
read / write
locality String?
The human readable locality of the location.
read / write
name String?
The human readable name of the location. This is primarily the name of the road. But in cases where the place was selected from Nearby places list, we use the name provided on the list item.
read / write
placeId String?
read / write
postalCode String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
subLocalityLevel1 AddressComponent?
read / write
subLocalityLevel2 AddressComponent?
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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