addTo method Null safety

void addTo(
  1. EventSink<T> sink
)

Adds this result to an EventSink.

Calls the sink's add or addError method as appropriate.

Implementation

void addTo(EventSink<T> sink);