Adds this result to an EventSink.
Calls the sink's add or addError method as appropriate.
add
addError
@override void addTo(EventSink<T> sink) { sink.add(value); }