toJson method

String toJson()

Converts the PowerGeoPolygon instance to a JSON string.

Returns a JSON string representation of the PowerGeoPolygon.

Implementation

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