exportCoverFile method

Future<bool> exportCoverFile(
  1. String path
)

Export Cover File

Implementation

Future<bool> exportCoverFile(String path) async {
  final outFile = File(path);
  final data = await _indexedDB.getCoverData();
  if (data == null) return false;
  await outFile.writeAsBytes(data);
  return true;
}