decompileZip function

Future<String> decompileZip(
  1. String path
)

Implementation

Future<String> decompileZip(String path) async {
  final file = File(path);
  var bytes = await file.readAsBytes();
  var archive = ZipDecoder().decodeBytes(bytes);
  final folderPath = file.parent.path + '/test/';
  extractArchiveToDisk(archive, folderPath);
  return folderPath;
}