randomBool function

bool randomBool()

Returns a random boolean value.

Implementation

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