GoogleCloudDialogflowCxV3DetectIntentResponse.fromJson constructor

GoogleCloudDialogflowCxV3DetectIntentResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3DetectIntentResponse.fromJson(core.Map json_)
  : this(
      allowCancellation: json_['allowCancellation'] as core.bool?,
      outputAudio: json_['outputAudio'] as core.String?,
      outputAudioConfig:
          json_.containsKey('outputAudioConfig')
              ? GoogleCloudDialogflowCxV3OutputAudioConfig.fromJson(
                json_['outputAudioConfig']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      queryResult:
          json_.containsKey('queryResult')
              ? GoogleCloudDialogflowCxV3QueryResult.fromJson(
                json_['queryResult'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      responseId: json_['responseId'] as core.String?,
      responseType: json_['responseType'] as core.String?,
    );