ParseGeoPoint class
ParseGeoPoint represents a latitude / longitude point that may be associated with a key in a ParseObject or used as a reference point for geo queries. This allows proximity based queries on the key.
Only one key in a class may contain a ParseGeoPoint.
Example:
ParseGeoPoint point = ParseGeoPoint(latitude: 30.0, longitude: -20.0);
ParseObject object = ParseObject("PlaceObject");
object.put("location", point);
object.save();
Constructors
- ParseGeoPoint({double latitude = 0.0, double longitude = 0.0})
- Creates a new point with the optional latitude and longitude.
Properties
- asMap → dynamic
-
Return pointer Map of ParseGeoPoint
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- latitude ↔ double
-
Return the latitude
getter/setter pair
- longitude ↔ double
-
Return the longitude
getter/setter pair
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override