GoogleCloudDialogflowV2KnowledgeAssistAnswer.fromJson constructor

GoogleCloudDialogflowV2KnowledgeAssistAnswer.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2KnowledgeAssistAnswer.fromJson(core.Map json_)
    : this(
        answerRecord: json_.containsKey('answerRecord')
            ? json_['answerRecord'] as core.String
            : null,
        suggestedQuery: json_.containsKey('suggestedQuery')
            ? GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
                .fromJson(json_['suggestedQuery']
                    as core.Map<core.String, core.dynamic>)
            : null,
        suggestedQueryAnswer: json_.containsKey('suggestedQueryAnswer')
            ? GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
                .fromJson(json_['suggestedQueryAnswer']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );