toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (advancedSettings != null) 'advancedSettings': advancedSettings!,
      if (allowAnswerFeedback != null)
        'allowAnswerFeedback': allowAnswerFeedback!,
      if (currentPage != null) 'currentPage': currentPage!,
      if (dataStoreConnectionSignals != null)
        'dataStoreConnectionSignals': dataStoreConnectionSignals!,
      if (diagnosticInfo != null) 'diagnosticInfo': diagnosticInfo!,
      if (dtmf != null) 'dtmf': dtmf!,
      if (intent != null) 'intent': intent!,
      if (intentDetectionConfidence != null)
        'intentDetectionConfidence': intentDetectionConfidence!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (match != null) 'match': match!,
      if (parameters != null) 'parameters': parameters!,
      if (responseMessages != null) 'responseMessages': responseMessages!,
      if (sentimentAnalysisResult != null)
        'sentimentAnalysisResult': sentimentAnalysisResult!,
      if (text != null) 'text': text!,
      if (transcript != null) 'transcript': transcript!,
      if (triggerEvent != null) 'triggerEvent': triggerEvent!,
      if (triggerIntent != null) 'triggerIntent': triggerIntent!,
      if (webhookPayloads != null) 'webhookPayloads': webhookPayloads!,
      if (webhookStatuses != null) 'webhookStatuses': webhookStatuses!,
    };