ValueSampler constructor

ValueSampler({
  1. required int initialValue,
  2. required int samples,
  3. required double deltaAvg,
  4. required int deltaMax,
  5. required double absAvg,
  6. required int absMax,
})

Implementation

ValueSampler({
  required this.initialValue,
  required this.samples,
  required double deltaAvg,
  required this.deltaMax,
  required double absAvg,
  required this.absMax,
})  : _sealed = true,
      _absSum = absAvg * samples,
      _deltaSum = deltaAvg * samples;