GoogleCloudDialogflowV2SuggestFaqAnswersRequest.fromJson constructor

GoogleCloudDialogflowV2SuggestFaqAnswersRequest.fromJson(
  1. Map json_
)

Implementation

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