Coords class
Latitude and longitude coordinates as degrees.
- Available extensions
Constructors
- Coords.new(double latitude, double longitude)
-
Constructor for Coords.
const
- Coords.fromJson(dynamic json)
-
Constructor for Coords by JSON Map object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setter
- latitude → double
-
The latitude in degrees between -90.0 and 90.0, both inclusive.
finalinherited
- longitude → double
-
The longitude in degrees between -180.0 (inclusive) and 180.0 (exclusive).
finalinherited
- 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
-
toCoords(
) → Coords -
Available on LatLng, provided by the LatLngConvert extension
ConvertsLatLng
to Coords. -
toJson(
) → Object -
Converts this object to something serializable in JSON.
inherited
-
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool - The equality operator.