average property

num get average

Implementation

num get average {
  if (_max.isInfinite) {
    return _min;
  }

  return (_min + _max) / 2;
}