GeoFirePoint class
Constructors
- GeoFirePoint(double latitude, double longitude)
Properties
- coords → Coordinates
-
no setter
- data → dynamic
-
no setter
- geoPoint → GeoPoint
-
return
GeoPoint
of GeoFirePointno setter - hash → String
-
return hash of GeoFirePoint
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude ↔ double
-
getter/setter pair
- longitude ↔ double
-
getter/setter pair
-
neighbors
→ List<
String> -
return all neighbors of GeoFirePoint
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
haversineDistance(
{required double lat, required double lng}) → dynamic -
haversine distance between GeoFirePoint and (
lat
,lng
) -
kmDistance(
{required double lat, required double lng}) → double -
return distance between GeoFirePoint and (
lat
,lng
) -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
kmDistanceBetween(
{required Coordinates to, required Coordinates from}) → double - return geographical distance between two Co-ordinates
-
neighborsOf(
{required String hash}) → List< String> -
return neighboring geo-hashes of
hash