writeByte method Null safety

void writeByte(
  1. int byte
)

Implementation

void writeByte(int byte) => writeBits(8, byte);