nextRaw53 method

int nextRaw53()

Generates a non-negative random integer uniformly distributed in the range from 0, inclusive, to 2^63, exclusive.

Implementation

@pragma('vm:prefer-inline')
int nextRaw53() {
  return INT64_SUPPORTED
      ? nextRaw64().unsignedRightShift(11)
      : combineUpper53bitsJS(nextRaw32(), nextRaw32());
}