GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse.fromJson constructor

GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse.fromJson(core.Map json_)
    : this(
        contextSize: json_.containsKey('contextSize')
            ? json_['contextSize'] as core.int
            : null,
        knowledgeAssistAnswer: json_.containsKey('knowledgeAssistAnswer')
            ? GoogleCloudDialogflowV2KnowledgeAssistAnswer.fromJson(
                json_['knowledgeAssistAnswer']
                    as core.Map<core.String, core.dynamic>)
            : null,
        latestMessage: json_.containsKey('latestMessage')
            ? json_['latestMessage'] as core.String
            : null,
      );