writeTo method Null safety

void writeTo(
  1. MqttByteBuffer messageStream
)

Writes the message to the supplied stream.

Implementation

void writeTo(MqttByteBuffer messageStream) {
  header!.writeTo(0, messageStream);
}