getAudioPreviewFile method
- Directory directory
Get the file to be written to for audio export.
Implementation
File getAudioPreviewFile(Directory directory) {
String audioPath = path.join(directory.path, 'previewAudio.mp3');
return File(audioPath);
}