stopListening method

void stopListening()

Manually stop the active speech recognition session Note that there are also timeouts that each platform enforces and the SpeechToText plugin supports setting timeouts on the listen method.

Implementation

void stopListening() async {
  kLog("STOP Listening...!!!");
  await _speechToText.stop();
}