nextBool method Null safety

bool nextBool()

Generates a random boolean value.

Implementation

bool nextBool();