GoogleCloudDialogflowV2DetectIntentResponse.fromJson constructor

GoogleCloudDialogflowV2DetectIntentResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2DetectIntentResponse.fromJson(core.Map json_)
    : this(
        outputAudio: json_.containsKey('outputAudio')
            ? json_['outputAudio'] as core.String
            : null,
        outputAudioConfig: json_.containsKey('outputAudioConfig')
            ? GoogleCloudDialogflowV2OutputAudioConfig.fromJson(
                json_['outputAudioConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        queryResult: json_.containsKey('queryResult')
            ? GoogleCloudDialogflowV2QueryResult.fromJson(
                json_['queryResult'] as core.Map<core.String, core.dynamic>)
            : null,
        responseId: json_.containsKey('responseId')
            ? json_['responseId'] as core.String
            : null,
        webhookStatus: json_.containsKey('webhookStatus')
            ? GoogleRpcStatus.fromJson(
                json_['webhookStatus'] as core.Map<core.String, core.dynamic>)
            : null,
      );