nextUint64 method

BigInt nextUint64()

Implementation

BigInt nextUint64() {
  // Two 32-bit halves → full 64-bit
  final hi = nextInt(1 << 32);
  final lo = nextInt(1 << 32);

  return (BigInt.from(hi) << 32) | BigInt.from(lo);
}