GoogleCloudDialogflowV2DetectIntentResponse.fromJson constructor

GoogleCloudDialogflowV2DetectIntentResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2DetectIntentResponse.fromJson(core.Map json_)
  : this(
      outputAudio: json_['outputAudio'] as core.String?,
      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_['responseId'] as core.String?,
      webhookStatus: json_.containsKey('webhookStatus')
          ? GoogleRpcStatus.fromJson(
              json_['webhookStatus'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );