doubleInRange method

double doubleInRange(
  1. Random source,
  2. num start,
  3. num end
)

Implementation

double doubleInRange(Random source, num start, num end) => source.nextDouble() * (end - start) + start;