toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'continent_code'] = this.continentCode;
json[r'country_iso_code'] = this.countryIsoCode;
json[r'green'] = this.green;
json[r'id'] = this.id;
json[r'latency_test_url'] = this.latencyTestUrl;
json[r'latitude'] = this.latitude;
json[r'longitude'] = this.longitude;
json[r'red'] = this.red;
json[r'subdivision_iso_code'] = this.subdivisionIsoCode;
json[r'yellow'] = this.yellow;
return json;
}