boolValue property
The boolean value (if the byte is no boolean then null)
Implementation
bool get boolValue => _number == 0 ? false : _number == 1 ? true : null;
The boolean value (if the byte is no boolean then null)
bool get boolValue => _number == 0 ? false : _number == 1 ? true : null;