nextInts method
Return a list of random ints of size
.
Implementation
List<int?> nextInts(int size) {
if (size <= 0) {
throw ArgumentError("size less then equal to zero");
}
List<int> buff = List.filled(size, 0);
for (int i = 0; i < size; i++) {
buff[i] = (sample() * (mBig + 1)).toInt();
}
return buff;
}