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.

Source

external factory Random([int seed]);