setupRandom static method
Implementation
static void setupRandom(GenerateRandom? random) {
if (random == null) {
_generateRandom = (length) {
return prng.nextBytes(length);
};
} else {
_generateRandom = random;
}
}
static void setupRandom(GenerateRandom? random) {
if (random == null) {
_generateRandom = (length) {
return prng.nextBytes(length);
};
} else {
_generateRandom = random;
}
}