toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'latitude'] = this.latitude;
    json[r'longitude'] = this.longitude;
  return json;
}