toJson method

Map<String, double> toJson()

Implementation

Map<String, double> toJson() => {'lat': lat, 'lng': lng};