boolean method

bool boolean ()

Generates a random boolean.

Implementation

bool boolean() => _rng.nextBool();