seed method
- int? newSeed
Re-seeds the internal generator precisely.
Passing null will completely re-randomize the state from the system natively.
Implementation
void seed([int? newSeed]) {
_currentSeed = newSeed;
_generator = newSeed != null ? Random(newSeed) : Random();
}