isSpeaking method

Future<bool> isSpeaking()

Checks whether the engine is currently speaking. On Mac OS X, the result is true whenever the system speech engine is speaking, even if the speech wasn't initiated by Chrome.

Implementation

Future<bool> isSpeaking() async {
  var $res = await promiseToFuture<bool>($js.chrome.tts.isSpeaking());
  return $res;
}