toJson method

String toJson()

Convert the LatLng obejct to json String.

Implementation

String toJson() => jsonEncode(toMap());