toJson method

String toJson()

Converts the PowerGeoJSONFeatureCollection instance to a JSON string.

Returns a JSON string representation of the PowerGeoJSONFeatureCollection.

Implementation

String toJson() => json.encode(toMap());