theRNG function
TheRNG Returns the default random number generator.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga75843061d150ad6564b5447e38e57722 Disabled: double free
Implementation
Rng theRNG() {
final p = calloc<ccore.RNG>();
cvRun(() => ccore.TheRNG(p));
return Rng.fromTheRng(p);
}