add method Null safety

void add(
  1. T event
)

Add the following custom event to the stream for dispatching to interested listeners.

Implementation

void add(T event);