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