rand method

double rand()

Get a traditional random number, from 0.0 inclusive to 1.0 exclusive

Implementation

double rand() => _random.nextDouble();