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