odinNextInt method

int odinNextInt(
  1. int maxValue, {
  2. bool isSecure = false,
  3. int? seed,
  4. int minValue = 0,
})

Implementation

int odinNextInt(int maxValue,{bool isSecure = false,int? seed,int minValue=0}){
  var rnd = OdinRandomUtils.createRandom(isSecure:isSecure,seed: seed);
  return minValue + rnd.nextInt(maxValue);
}