$getBool method Null safety

bool $getBool()

Implementation

bool $getBool() {
	final int index = _boolsBitNumber ~/ 8;
	final bool result = ($flags[index] >> (_boolsBitNumber % 8)) & 1 == 1;
	_boolsBitNumber++;
	return result;
}