GoogleCloudDialogflowCxV3OutputAudioConfig.fromJson constructor

GoogleCloudDialogflowCxV3OutputAudioConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3OutputAudioConfig.fromJson(core.Map json_)
    : this(
        audioEncoding: json_.containsKey('audioEncoding')
            ? json_['audioEncoding'] as core.String
            : null,
        sampleRateHertz: json_.containsKey('sampleRateHertz')
            ? json_['sampleRateHertz'] as core.int
            : null,
        synthesizeSpeechConfig: json_.containsKey('synthesizeSpeechConfig')
            ? GoogleCloudDialogflowCxV3SynthesizeSpeechConfig.fromJson(
                json_['synthesizeSpeechConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );