ProgressManager constructor
ProgressManager(
- int totalAmountOfSteps,
- ReportProgress reportProgress
Implementation
ProgressManager(
int totalAmountOfSteps, this.reportProgress /*, {this.weightedSteps}*/) {
totalAmountOfWeightedSteps = totalAmountOfSteps;
/*
if (weightedSteps != null) {
for (var weightedStep in weightedSteps!.values) {
totalAmountOfWeightedSteps = totalAmountOfWeightedSteps + weightedStep - 1; // minus one because we've already considered it as 1
}
}
*/
}