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