dispose method
Release the recorder. The manager is inert afterwards.
Implementation
Future<void> dispose() async {
_stopAudioLevelMonitoring();
if (_isRecording) {
await cancel();
}
await _recorder.dispose();
}
Release the recorder. The manager is inert afterwards.
Future<void> dispose() async {
_stopAudioLevelMonitoring();
if (_isRecording) {
await cancel();
}
await _recorder.dispose();
}