toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotationId != null) 'annotationId': annotationId!,
      if (answerFeedback != null) 'answerFeedback': answerFeedback!,
      if (articleSuggestion != null) 'articleSuggestion': articleSuggestion!,
      if (conversationSummarizationSuggestion != null)
        'conversationSummarizationSuggestion':
            conversationSummarizationSuggestion!,
      if (createTime != null) 'createTime': createTime!,
      if (dialogflowInteraction != null)
        'dialogflowInteraction': dialogflowInteraction!,
      if (endBoundary != null) 'endBoundary': endBoundary!,
      if (faqAnswer != null) 'faqAnswer': faqAnswer!,
      if (smartComposeSuggestion != null)
        'smartComposeSuggestion': smartComposeSuggestion!,
      if (smartReply != null) 'smartReply': smartReply!,
      if (startBoundary != null) 'startBoundary': startBoundary!,
      if (userInput != null) 'userInput': userInput!,
    };