toJson method Null safety

String toJson()

Convert the LatLng obejct to json String.

Implementation

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