Random constructor

Random([int seed ])

Creates a random number generator.

The optional parameter seed is used to initialize the internal state of the generator. The implementation of the random stream can change between releases of the library.

Implementation

external factory Random([int seed]);