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