GeoJSON.fromJSON constructor

GeoJSON.fromJSON(
  1. String source
)

Constructs a GeoJSON object from a JSON string source.

Implementation

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