randomDouble function

double randomDouble({
  1. num range = 1,
  2. num min = 0,
})

Implementation

double randomDouble({num range = 1, num min = 0}) =>
    _random.nextDouble() * range + min;