GeoPoint class

GeoPoint

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')

longitude : (double) latitude : (double)

Implementers
Available Extensions

Constructors

GeoPoint({required double latitude, required double longitude})
GeoPoint.fromMap(Map m)
GeoPoint.fromString(String m)

Properties

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

Methods

destinationPoint({required double distanceInMeters, required dynamic bearingInDegrees}) GeoPoint
destinationPoint
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, double>
toString() String
A string representation of this object.
override

Operators

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