publish method

  1. @override
void publish(
  1. Stream<NEW_EVENT> newEvent,
  2. EventBus bus
)
override

Implementation

@override
void publish(Stream<NEW_EVENT> newEvent, EventBus bus) {
  bus.publishFromStream(newEvent, key.toString());
}