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