GoogleCloudDialogflowCxV3DetectIntentResponse.fromJson constructor

GoogleCloudDialogflowCxV3DetectIntentResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3DetectIntentResponse.fromJson(core.Map json_)
    : this(
        allowCancellation: json_.containsKey('allowCancellation')
            ? json_['allowCancellation'] as core.bool
            : null,
        outputAudio: json_.containsKey('outputAudio')
            ? json_['outputAudio'] as core.String
            : null,
        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_.containsKey('responseId')
            ? json_['responseId'] as core.String
            : null,
        responseType: json_.containsKey('responseType')
            ? json_['responseType'] as core.String
            : null,
      );