GeoJsonGeometryCollection.fromJson constructor
Implementation
factory GeoJsonGeometryCollection.fromJson(Map<String, dynamic> json) {
final geos = json['geometries'] as List;
return GeoJsonGeometryCollection(
geos
.map((g) => GeoJsonGeometry.fromJson(g as Map<String, dynamic>))
.whereType<GeoJsonGeometry>()
.toList(),
);
}