GoogleCloudDialogflowV2TextToSpeechSettings.fromJson constructor
GoogleCloudDialogflowV2TextToSpeechSettings.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2TextToSpeechSettings.fromJson(core.Map json_)
: this(
enableTextToSpeech: json_['enableTextToSpeech'] as core.bool?,
outputAudioEncoding: json_['outputAudioEncoding'] as core.String?,
sampleRateHertz: json_['sampleRateHertz'] as core.int?,
synthesizeSpeechConfigs: (json_['synthesizeSpeechConfigs']
as core.Map<core.String, core.dynamic>?)
?.map(
(key, value) => core.MapEntry(
key,
GoogleCloudDialogflowV2SynthesizeSpeechConfig.fromJson(
value as core.Map<core.String, core.dynamic>),
),
),
);