onPause property
EventStream<void>
get
onPause
Optional: if an engine supports the pause event, it should pause the current utterance being spoken, if any, until it receives a resume event or stop event. Note that a stop event should also clear the paused state.
Implementation
EventStream<void> get onPause =>
$js.chrome.ttsEngine.onPause.asStream(($c) => () {
return $c(null);
});