cleanTargets method
Implementation
Future<CleanupSummary> cleanTargets(
List<CleanupTarget> targets, {
required bool dryRun,
}) async {
final results = <CleanupResult>[];
for (final target in targets) {
results.add(await _targetCleaner.clean(target, dryRun: dryRun));
}
return CleanupSummary(results);
}