rand method

double rand()

Implementation

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