writeTo method

  1. @override
void writeTo (
  1. MqttByteBuffer payloadStream
)
override

Writes the payload to the supplied stream.

Implementation

@override
void writeTo(MqttByteBuffer payloadStream) {
  for (final value in qosGrants) {
    payloadStream.writeByte(value.index);
  }
}