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