GlobeCoordinates.fromMap constructor
Creates a GlobeCoordinates object from a map.
The map should contain the latitude and longitude as key-value pairs.
Implementation
factory GlobeCoordinates.fromMap(Map<String, dynamic> map) {
return GlobeCoordinates(
map['latitude'] as double,
map['longitude'] as double,
);
}