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