GeoPoint class Null safety

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

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. [...]
read-only, inherited
latitude num
The latitude of this GeoPoint instance.
read-only
longitude num
The longitude of this GeoPoint instance.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

isEqual(Object other) bool
Returns true if this GeoPoint is equal to the provided other.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited