stop method
Stops recording session and release internal recorder resource.
Returns the output path if any.
Implementation
Future<String?> stop() {
return _safeCall(() async {
final path = await _platform.stop(_recorderId);
await _stopRecordStream();
return path;
});
}