max property

num max

Return the largest sample value.

Implementation

num get max {
  if (sortedSample.isUpToDate) {
    return sortedSample().last;
  } else {
    return sample.max;
  }
}