rands method

Iterable<double> rands(
  1. int count, {
  2. Random? source,
})

Implementation

Iterable<double> rands(int count, {Random? source}) {
  source ??= Random.secure();
  return Iterable.generate(
      count, (i) => source!.nextDouble() * distance + smallest);
}