toJson method

String toJson()

Converts the PowerGeoLineString instance to a JSON string.

Returns a JSON string representation of the PowerGeoLineString.

Implementation

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