getVoices method
- @DomName('SpeechSynthesis.getVoices')
- @DocsEditable()
Implementation
@DomName('SpeechSynthesis.getVoices')
@DocsEditable()
List<SpeechSynthesisVoice> getVoices() {
List<SpeechSynthesisVoice> voices = _getVoices();
if (voices.length > 0) applyExtension('SpeechSynthesisVoice', voices[0]);
return voices;
}