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