toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '8e1a1775',
'\$name': 'NearestDc',
'country': country,
'thisDc': thisDc,
'nearestDc': nearestDc,
};
// Finished toJson.
return returnValue;
}