GeoJsonGeometryCollection constructor

const GeoJsonGeometryCollection({
  1. required List<GeoJsonGeometry> geometries,
  2. String? name,
  3. dynamic type,
})

Default constructor JSON 'type' is intentionally ignored and super is forced to use proper type

Implementation

const GeoJsonGeometryCollection({required this.geometries, this.name, type}) : super(GeoJsonGeometryType.geometryCollection);