pack method

void pack({
  1. required Directory directory,
  2. required String filename,
})

Implementation

void pack({
  required Directory directory,
  required String filename,
}) {
  ZipFileEncoder().zipDirectory(directory, filename: filename);
}