randomNonZeroInt function

int randomNonZeroInt(
  1. int max
)

Implementation

int randomNonZeroInt(int max) => randomInt(max, min: 1);