OutputAudioConfig constructor
OutputAudioConfig({
- OutputAudioEncoding? audioEncoding,
- int? sampleRateHertz,
- SynthesizeSpeechConfig? synthesizeSpeechConfig,
Implementation
factory OutputAudioConfig({
OutputAudioEncoding? audioEncoding,
$core.int? sampleRateHertz,
SynthesizeSpeechConfig? synthesizeSpeechConfig,
}) {
final _result = create();
if (audioEncoding != null) {
_result.audioEncoding = audioEncoding;
}
if (sampleRateHertz != null) {
_result.sampleRateHertz = sampleRateHertz;
}
if (synthesizeSpeechConfig != null) {
_result.synthesizeSpeechConfig = synthesizeSpeechConfig;
}
return _result;
}