PowerGeoJSONFeatureCollection.fromJson constructor

PowerGeoJSONFeatureCollection.fromJson(
  1. String source
)

Creates a PowerGeoJSONFeatureCollection instance from a JSON string.

  • source: A JSON string representing the PowerGeoJSONFeatureCollection.

Returns a PowerGeoJSONFeatureCollection instance.

Implementation

factory PowerGeoJSONFeatureCollection.fromJson(String source) =>
    PowerGeoJSONFeatureCollection.fromMap(
      json.decode(source) as Map<String, dynamic>,
    );