toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final answerRecord = this.answerRecord;
  final confidence = this.confidence;
  final conversationModel = this.conversationModel;
  final generatorId = this.generatorId;
  final metadata = this.metadata;
  final text = this.text;
  final textSections = this.textSections;
  return {
    'answerRecord': ?answerRecord,
    'confidence': ?confidence,
    'conversationModel': ?conversationModel,
    'generatorId': ?generatorId,
    'metadata': ?metadata,
    'text': ?text,
    'textSections': ?textSections,
  };
}