$packBool method Null safety

void $packBool(
  1. bool value
)

Implementation

void $packBool(bool value) {
	_data!.buffer.asByteData().setUint8(_offset, value ? 1 : 0);
	_offset++;
}