nextDouble method

double nextDouble(
  1. double max
)

Get a random floating point number between 0.0 inclusive and max exclusive

Implementation

double nextDouble(double max) => _random.nextDouble() * max;