toJson method
Implementation
Map<String, dynamic> toJson() {
final data = <String, dynamic>{};
data['direction'] = this.direction;
data['distance'] = this.distance;
if (this.latLonPoint != null) {
data['latLonPoint'] = this.latLonPoint?.toJson();
}
data['number'] = this.number;
data['street'] = this.street;
return data;
}