init method

void init(
  1. dynamic min,
  2. dynamic max
)

Implementation

void init(min, max) {
  this.max = max;
  this.min = min;
  reset();
}