core/basics/src/integer library

Functions

integer({int? min, int? max}) int
This function returns a random integer between min value and max value. If no argument if passed, it will generate random integers between 0 and 1,000,000,000.