GoogleCloudDialogflowV2SearchKnowledgeRequest.fromJson constructor

GoogleCloudDialogflowV2SearchKnowledgeRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2SearchKnowledgeRequest.fromJson(core.Map json_)
    : this(
        conversation: json_.containsKey('conversation')
            ? json_['conversation'] as core.String
            : null,
        conversationProfile: json_.containsKey('conversationProfile')
            ? json_['conversationProfile'] as core.String
            : null,
        latestMessage: json_.containsKey('latestMessage')
            ? json_['latestMessage'] as core.String
            : null,
        parent: json_.containsKey('parent')
            ? json_['parent'] as core.String
            : null,
        query: json_.containsKey('query')
            ? GoogleCloudDialogflowV2TextInput.fromJson(
                json_['query'] as core.Map<core.String, core.dynamic>)
            : null,
        sessionId: json_.containsKey('sessionId')
            ? json_['sessionId'] as core.String
            : null,
      );