I am trying to extract a zip file to a folder using this code, but I get the error FormatException: Unexpected extension byte (at offset 68) :
String uri = "./downloads/tmp.zip";
await extractFileToDisk(uri, "./pack");
I have also tried to use :
String uri = "./downloads/tmp.zip";
final bytes = File(uri).readAsBytesSync();
final archive = ZipDecoder().decodeBytes(bytes);
extractArchiveToDisk(archive, "./pack")
I am trying to extract a zip file to a folder using this code, but I get the error
FormatException: Unexpected extension byte (at offset 68)
:I have also tried to use :
But I get the same error.
Link to the archive I use : https://github.com/Team-Gamechanger/The-Jackbox-Party-Pack-8-German/releases/latest/download/The-Jackbox-Party-Pack-8-German.zip