publish method

Future<void> publish(
  1. String topic,
  2. String message
)

Publishes a message to a PubSub topic.

Implementation

Future<void> publish(String topic, String message) async {
  return _node.publish(topic, message);
}