SpeechSynthesisUtterance constructor

  1. @DomName('SpeechSynthesisUtterance.SpeechSynthesisUtterance')
  2. @DocsEditable()
SpeechSynthesisUtterance([String text ])

Implementation

@DomName('SpeechSynthesisUtterance.SpeechSynthesisUtterance')
@DocsEditable()
factory SpeechSynthesisUtterance([String text]) {
  if (text != null) {
    return SpeechSynthesisUtterance._create_1(text);
  }
  return SpeechSynthesisUtterance._create_2();
}