addBool method
Add the field with the given boolean value. The field is not added if
the value is equal to def. Booleans are stored as 8-bit fields with
0 for false and 1 for true.
Implementation
@override
void addBool(int field, bool? value, [bool? def]) =>
_write(() => _builder.addBool(field, value, def));