progress2 method

double progress2(
  1. num min,
  2. num max
)

Implementation

double progress2(num min, num max) {
  return this * (max - min) + min;
}