publishMessage method

Future publishMessage(
  1. Message message
)

Publish message to topic. The message should be created by createMessage

Implementation

Future publishMessage(Message message) {
  message.resetLocalValues();
  return _send(message.asPubPacket());
}