GeoJson.fromJson constructor
Creates a GeoJson object from a JSON map.
Implementation
factory GeoJson.fromJson(Map<String, dynamic> json) {
return GeoJson(
type: json['type'] as String,
coordinates: LatLng.fromList(json['coordinates'] as List<dynamic>),
);
}