randomBool function

bool randomBool()

Generates a random boolean value.

Implementation

bool randomBool() => Random().nextBool();