GeoJSONPolygon.fromJSON constructor

GeoJSONPolygon.fromJSON(
  1. String source
)

The constructor from JSON string

Implementation

factory GeoJSONPolygon.fromJSON(String source) =>
    GeoJSONPolygon.fromMap(json.decode(source));