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