menu
niralanlayout package
documentation
utils/rnd.dart
Rnd
getBool static method
getBool static method
dark_mode
light_mode
getBool
static method
bool
getBool
(
[
double
chance
=
0.5
])
Implementation
static bool getBool([double chance = 0.5]) { return random.nextDouble() < chance; }
niralanlayout package
documentation
utils/rnd
Rnd
getBool static method
Rnd class