core.Map<core.String, core.dynamic> toJson() { final topology = this.topology; final type = this.type; return {'topology': ?topology, 'type': ?type}; }