nextUint32 method

  1. @override
int nextUint32()
override

Get four bytes long random int.

Implementation

@override
int nextUint32() {
  // this is 2^32. We can't write 1 << 32 because that evaluates to 0 on js
  return dartRandom.nextInt(4294967296);
}