toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final channelTag = this.channelTag;
final confidence = this.confidence;
final dialogflowSegmentMetadata = this.dialogflowSegmentMetadata;
final languageCode = this.languageCode;
final messageTime = this.messageTime;
final segmentParticipant = this.segmentParticipant;
final sentiment = this.sentiment;
final text = this.text;
final words = this.words;
return {
'channelTag': ?channelTag,
'confidence': ?confidence,
'dialogflowSegmentMetadata': ?dialogflowSegmentMetadata,
'languageCode': ?languageCode,
'messageTime': ?messageTime,
'segmentParticipant': ?segmentParticipant,
'sentiment': ?sentiment,
'text': ?text,
'words': ?words,
};
}