stop method
Stops the recorder and returns what have been recorded. Each recording should be disposed when not needed anymore.
Implementation
Future<Recording> stop() async {
final platformRecording = _recorder.stop();
final recording = Recording._(platformRecording);
_recordingsFinalizer.attach(recording, platformRecording);
return recording;
}