getInRange static method

int getInRange(
  1. int from,
  2. int to
)

Implementation

static int getInRange(int from, int to) => from + _rnd.nextInt(to - from);