double randomDouble()

Returns a random double in the range of 0.0 to 1.0.

Source

double randomDouble() {
  return _random.nextDouble();
}