nextIntInRange method
Generates a non-negative random integer uniformly distributed in the range
from range.start to range.endInclusive, both inclusive.
Implementation
int nextIntInRange(Range<int> range) {
return nextIntBetween(range.start, range.endInclusive + 1);
}