nextDouble method

Double nextDouble({
  1. Double from = 0,
  2. Double until = 1,
})

Gets the next random Double from the random number generator in the specified range.

Implementation

Double nextDouble({
  Double from = 0,
  Double until = 1,
}) {
  return this.nextDouble() * (until - from) + from;
}