GoogleCloudDialogflowV2OutputAudioConfig.fromJson constructor

GoogleCloudDialogflowV2OutputAudioConfig.fromJson(
  1. Map json_
)

Implementation

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