putBool method

void putBool(
  1. int fieldId,
  2. bool value
)

Writes a boolean field.

Implementation

void putBool(int fieldId, bool value) {
  _ensureOpen();
  _sink.putBool(fieldId, value);
}