publish method

Future<void> publish(
  1. T event
)

Implementation

Future<void> publish(T event) => _hub.publish(topic, event);