prepareDirectoryYomichanFormat function

Future<void> prepareDirectoryYomichanFormat(
  1. PrepareDirectoryParams params
)

Top-level function for use in compute. See DictionaryFormat for details.

Implementation

Future<void> prepareDirectoryYomichanFormat(
    PrepareDirectoryParams params) async {
  /// Extract the user selected archive to the working directory.
  await ZipFile.extractToDirectory(
    zipFile: params.file,
    destinationDir: params.workingDirectory,
  );
}