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