GlobeCoordinates constructor
The GlobeCoordinates class provides methods to convert the coordinates to a map, JSON, and a string representation. It also supports copying the coordinates with optional new latitude and longitude values.
The latitude
and longitude
parameters represent the coordinates of the point on the globe.
Example usage:
GlobeCoordinates(
latitude: 0,
longitude: 0,
);
Implementation
const GlobeCoordinates(this.latitude, this.longitude);