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