GeoPoint class

An immutable object representing a geo point in Cloud Firestore. The geo point is represented as latitude/longitude pair.

See: firebase.google.com/docs/reference/js/firebase.firestore.GeoPoint.

Annotations
  • @JS()

Constructors

GeoPoint(num latitude, num longitude)
Creates a new immutable GeoPoint object with the provided latitude and longitude values.
factory

Properties

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

Methods

isEqual(Object other) bool
Returns true if this GeoPoint is equal to the provided other.
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