stopListening method

Future<void> stopListening()

Implementation

Future<void> stopListening() async {
  _recognizedText = '';
  if (_isMicOn) {
    await toggleMic();
  }
}