stop method

void stop()

Stops a current active listening session.

Call this after calling listen to stop the recognizer from listening further and return the current result as final.

Implementation

void stop() {
  _speechToText.stop();
  notifyListeners();
}