cancel method
void
cancel()
Cancel a current active listening session.
Call this after calling listen to stop the recognizer from listening further and ignore any results recognized so far.
Implementation
void cancel() {
_speechToText.cancel();
notifyListeners();
}