send method
Sends the message in the stream to the broker.
Implementation
void send(MqttByteBuffer message) {
final length = message.length;
final messageBytes = message.read(length);
client?.add(messageBytes.toList());
}
Sends the message in the stream to the broker.
void send(MqttByteBuffer message) {
final length = message.length;
final messageBytes = message.read(length);
client?.add(messageBytes.toList());
}