toJson method

Map<String, dynamic> toJson()

Implementation

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