randMaxInt top-level constant

int const randMaxInt

The maximum value allowed for Random.nextInt.

Implementation

// See <https://github.com/dart-lang/sdk/issues/48647>
const randMaxInt = (1 << 31) * 2;