writeBool method

  1. @override
void writeBool(
  1. bool b
)
override

Writes bool b into the buffer

  • b: the value to write

Implementation

@override
void writeBool(bool b) {
  writeUint8(b ? types.boolTrue : types.boolFalse);
}