Geolocation class
A geolocation pair value in _latitude
and _longitude
.
Constructors
- Geolocation(num latitude, num longitude)
Properties
Methods
-
asPoint(
) → Point< num> -
googleMapsDirectionsURL(
) → Future< String> -
googleMapsURL(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openGoogleMaps(
) → String -
openGoogleMapsDirections(
) → Future< String> -
toString(
) → String -
A string representation of this object.
override
-
windowID(
String prefix) → String
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
formatGeolocation(
Point< num> geo) → String -
formatLatitude(
num lat) → String -
formatLongitude(
num long) → String -
fromCoords(
String coords, [bool? onlyWithCardinals]) → Geolocation? -
getCurrentGeolocation(
) → Future< Geolocation> -
parseLatitudeOrLongitudeValue(
String s, [bool onlyWithCardinals = false]) → num?