extractZipFileIsolate static method

Future<void> extractZipFileIsolate(
  1. Map data
)

Implementation

static Future<void> extractZipFileIsolate(Map data) async {
  try {
    String? zipFilePath = data['zipFile'];
    String? targetPath = data['targetPath'];
    if ((zipFilePath != null) && (targetPath != null)) {
      await extractFileToDisk(zipFilePath, targetPath);
    }
  } catch (e) {
    return;
  }
}