Generate a random double between min and max.
min
max
double randomDouble(double min, double max) => min + _random.nextDouble() * (max - min);