toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.cityCode != null) {
json[r'cityCode'] = this.cityCode;
} else {
json[r'cityCode'] = null;
}
if (this.geoNodeId != null) {
json[r'geoNodeId'] = this.geoNodeId;
} else {
json[r'geoNodeId'] = null;
}
if (this.coordinates != null) {
json[r'coordinates'] = this.coordinates;
} else {
json[r'coordinates'] = null;
}
if (this.radiusKm != null) {
json[r'radiusKm'] = this.radiusKm;
} else {
json[r'radiusKm'] = null;
}
return json;
}