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