GoogleCloudDialogflowCxV3FulfillIntentResponse.fromJson constructor

GoogleCloudDialogflowCxV3FulfillIntentResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3FulfillIntentResponse.fromJson(core.Map json_)
    : this(
        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,
      );