GeoPoint class
A geographic coordinate point (vertex) for polygon geofences.
Constructors
- GeoPoint({required double latitude, required double longitude})
-
const
- GeoPoint.fromMap(JsonMap map)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isValid → bool
-
Returns true if this point has valid coordinates.
no setter
- latitude → double
-
Latitude in degrees (-90 to 90).
final
- longitude → double
-
Longitude in degrees (-180 to 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
-
toMap(
) → JsonMap -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override