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