GoogleCloudDialogflowV2OutputAudioConfig.fromJson constructor

GoogleCloudDialogflowV2OutputAudioConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2OutputAudioConfig.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')
            ? GoogleCloudDialogflowV2SynthesizeSpeechConfig.fromJson(
                json_['synthesizeSpeechConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );