Coordinates class

Coordinates class to get the geographic location.

Constructors

Coordinates(double latitude, double longitude)
Define a Coordinates class.
const
Coordinates.fromJson(Map<String, dynamic> json)
Factory that returns a Coordinates class from json Map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
latitude double
Latitude of the geographic coordinate system.
final
longitude double
Longitude of the geographic coordinate system.
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
toJson() Map<String, dynamic>
Returns a map of the class.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited