GoogleCloudDialogflowV2AgentAssistantFeedback.fromJson constructor

GoogleCloudDialogflowV2AgentAssistantFeedback.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2AgentAssistantFeedback.fromJson(core.Map json_)
    : this(
        answerRelevance: json_.containsKey('answerRelevance')
            ? json_['answerRelevance'] as core.String
            : null,
        documentCorrectness: json_.containsKey('documentCorrectness')
            ? json_['documentCorrectness'] as core.String
            : null,
        documentEfficiency: json_.containsKey('documentEfficiency')
            ? json_['documentEfficiency'] as core.String
            : null,
        knowledgeSearchFeedback: json_.containsKey('knowledgeSearchFeedback')
            ? GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback
                .fromJson(json_['knowledgeSearchFeedback']
                    as core.Map<core.String, core.dynamic>)
            : null,
        summarizationFeedback: json_.containsKey('summarizationFeedback')
            ? GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback
                .fromJson(json_['summarizationFeedback']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );