next method

num next()

Returns the next random number sampled from the interval (start, end).

  • Returns a cached value if the cache is up-to-date.
  • If the cache is stale an new random number is returned and cached.

Implementation

num next() => _next();