toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (answerRecord != null) 'answerRecord': answerRecord!,
      if (confidence != null) 'confidence': confidence!,
      if (conversationModel != null) 'conversationModel': conversationModel!,
      if (metadata != null) 'metadata': metadata!,
      if (text != null) 'text': text!,
      if (textSections != null) 'textSections': textSections!,
    };