GeoJsonPoint constructor

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

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

Implementation

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