rands method

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

Implementation

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