LocationResult class
The result returned after completing location selection.
Constructors
- LocationResult.new({LatLng latLng = const LatLng(28.8993447, 76.6228793), String address = "", String placeId = "", String streetNumber = "", String route = "", String locality = "", String administrativeAreaLevel2 = "", String administrativeAreaLevel1 = "", String country = "", String postalCode = ""})
Properties
- address ↔ 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.
getter/setter pair
- administrativeAreaLevel1 ↔ String
-
getter/setter pair
- administrativeAreaLevel2 ↔ String
-
getter/setter pair
- country ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- latLng ↔ LatLng
-
Latitude/Longitude of the selected location.
getter/setter pair
- locality ↔ String
-
getter/setter pair
- placeId ↔ String
-
Google Maps place ID
getter/setter pair
- postalCode ↔ String
-
getter/setter pair
- route ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streetNumber ↔ String
-
streetNumber,route,locality,administrativeAreaLevel2,administrativeAreaLevel1,country of the selected location.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited