SpeechConfig constructor

SpeechConfig({
  1. String? voiceName,
  2. String? languageCode,
})

Constructs a SpeechConfig for a single-speaker setup.

Implementation

SpeechConfig({this.voiceName, this.languageCode})
    : multiSpeakerVoiceConfig = null;