writeBool method

void writeBool(
  1. bool value
)

Implementation

void writeBool(bool value) => writeUInt8(value ? 1 : 0);