GoogleCloudDialogflowV2DetectIntentRequest.fromJson constructor

GoogleCloudDialogflowV2DetectIntentRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2DetectIntentRequest.fromJson(core.Map json_)
    : this(
        inputAudio: json_.containsKey('inputAudio')
            ? json_['inputAudio'] as core.String
            : null,
        outputAudioConfig: json_.containsKey('outputAudioConfig')
            ? GoogleCloudDialogflowV2OutputAudioConfig.fromJson(
                json_['outputAudioConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        outputAudioConfigMask: json_.containsKey('outputAudioConfigMask')
            ? json_['outputAudioConfigMask'] as core.String
            : null,
        queryInput: json_.containsKey('queryInput')
            ? GoogleCloudDialogflowV2QueryInput.fromJson(
                json_['queryInput'] as core.Map<core.String, core.dynamic>)
            : null,
        queryParams: json_.containsKey('queryParams')
            ? GoogleCloudDialogflowV2QueryParameters.fromJson(
                json_['queryParams'] as core.Map<core.String, core.dynamic>)
            : null,
      );