Rng.fromSeed constructor
Rng.fromSeed(
- int seed
Implementation
factory Rng.fromSeed(int seed) {
final p = calloc<cvg.RNG>();
cvRun(() => cffi.Rng_NewWithState(seed, p));
final rng = Rng._(p);
return rng;
}