add method Null safety

void add (
  1. T event
)
override

Adds a data event to the sink.

Must not be called on a closed sink.

Implementation

void add(T event);