getBool function Null safety

bool getBool()

Implementation

bool getBool() => _rand.nextBool();