Geolocation class

A geolocation pair value in _latitude and _longitude.

Constructors

Geolocation(num latitude, num longitude)

Properties

hashCode int
The hash code for this object.
no setterinherited
latitude num
The latitude of the coordinate.
final
longitude num
The longitude of the coordinate.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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?