publish method
Future<void>
publish({
- required String topic,
- required String message,
- RelayerPublishOptions? opts,
override
Implementation
@override
Future<void> publish({
required String topic,
required String message,
RelayerPublishOptions? opts,
}) async {
_isInitialized();
await publisher.publish(topic: topic, message: message, opts: opts);
await _recordMessageEvent(
RelayerMessageEvent(message: message, topic: topic));
}