GeoJsonLine constructor

GeoJsonLine({
  1. required LineCoordinates coordinates,
  2. String? name,
  3. dynamic type,
})

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

Implementation

GeoJsonLine({required this.coordinates, this.name, type}) : super(GeoJsonGeometryType.line);