GeoJsonLine constructor
GeoJsonLine({
- required LineCoordinates coordinates,
- String? name,
- 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);