value property

double value

Implementation

double get value {
  final sign = _random.nextBool() ? 1 : -1;
  final value = _random.nextDouble() * maxError;
  return sign * value;
}