writeTo method
Writes the payload to the supplied stream.
Implementation
@override
void writeTo(MqttByteBuffer payloadStream) {
subscriptions.forEach((String? key, MqttQos? value) {
payloadStream.writeMqttStringM(key!);
payloadStream.writeByte(value!.index);
});
}