closeRecorder method

Future<void> closeRecorder()

Close a Recorder

You must close your recorder when you have finished with it, for releasing the resources. Delete all the temporary files created with startRecorder()

Implementation

Future<void> closeRecorder() async {
  await _lock.synchronized(() {
    return _closeAudioSession();
  });
}