GeoPoint class
illustrate geographique location thats contain longitude and latitude position
GeoPoint accept Map that has two keys with values which keys should be has names as lat,lon
GeoPoint accept String where in should be in format lat,lon example
GeoPoint('8.42,12.435')
- Available extensions
Constructors
- GeoPoint({required double latitude, required double longitude})
- GeoPoint.fromMap(Map m)
- GeoPoint.fromString(String m)
Properties
Methods
-
destinationPoint(
{required double distanceInMeters, required dynamic bearingInDegrees}) → GeoPoint - destinationPoint
-
isEqual(
GeoPoint location, {double precision = 1e6}) → bool -
Available on GeoPoint, provided by the ExtGeoPoint extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toListNum(
) → List< num> -
Available on GeoPoint, provided by the ExtGeoPoint extension
-
toMap(
) → Map< String, double> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override