putBool method

  1. @override
void putBool(
  1. bool value
)
override

Writes a bool to the tail of the buffer after preparing space for it. Bools are represented as a Uint8, with the value set to '1' for true, and '0' for false

Updates the offset pointer. This method is intended for use when writing structs to the buffer.

Implementation

@override
void putBool(bool value) => _write(() => _builder.putBool(value));