GeoJsonMultiPolygon constructor

const GeoJsonMultiPolygon({
  1. required MultiPolygonCoordinates coordinates,
  2. String? name,
  3. dynamic type,
})

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

Implementation

const GeoJsonMultiPolygon({required this.coordinates, this.name, type}) : super(GeoJsonGeometryType.multiPolygon);