cleanupAll method
Implementation
Future<void> cleanupAll() async {
final directory = _temp.asDirectory;
if (!await directory.exists()) return;
await for (final entity in directory.list()) {
if (entity is io.Directory) {
await cleanupPackage(entity.path, isPackageDir: true);
}
}
}