knownBool property

bool? get knownBool

The boolean value, or null if this bit is x or z.

Implementation

bool? get knownBool => isValid ? toBool() : null;