getAudioExportFile method

File getAudioExportFile(
  1. {bool fallback = false}
)

Get the file to be written to for audio export.

Implementation

File getAudioExportFile({bool fallback = false}) {
  String audioPath = path.join(
      (fallback ? alternateExportDirectory : exportDirectory).path,
      'exportAudio.mp3');
  return File(audioPath);
}