random property

double Function() get random

Math.random(): a double in [0, 1).

Implementation

static double Function() get random => _scope?.random ?? _randomDefault;
set random (double f())

Implementation

static set random(double Function() f) => _randomDefault = f;