Random constructor
- [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]);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-math/Random/Random.html