stop method

void stop()

Stops any current speech and flushes the queue of any pending utterances. In addition, if speech was paused, it will now be un-paused for the next call to speak.

Implementation

void stop() {
  $js.chrome.tts.stop();
}