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