GeoPoint extension type

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

Latitude values are in the range of -90, 90. Longitude values are in the range of -180, 180.

on
Implemented types
Available extensions

Constructors

GeoPoint({required num latitude, required num longitude})
Creates a new immutable GeoPoint object with the provided latitude and longitude values. @param latitude The latitude as number between -90 and 90. @param longitude The longitude as number between -180 and 180.
factory

Properties

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

Methods

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