GeoJSONLineString.fromJSON constructor

GeoJSONLineString.fromJSON(
  1. String source
)

Constructs a GeoJSONLineString from a JSON string.

Implementation

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