copyWith method
Creates a copy with updated fields.
Implementation
CleanResult copyWith({
List<String>? deletedPaths,
Map<String, String>? failedPaths,
int? reclaimedSize,
}) {
return CleanResult(
deletedPaths: deletedPaths ?? this.deletedPaths,
failedPaths: failedPaths ?? this.failedPaths,
reclaimedSize: reclaimedSize ?? this.reclaimedSize,
);
}