GeoPoint class

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

Annotations
  • @immutable

Constructors

GeoPoint({required double latitude, required double longitude})

Properties

hashCode int
The hash code for this object.
no setteroverride
latitude double
The latitude as a number between -90 and 90.
final
longitude double
The longitude as a number between -180 and 180.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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.
override