addTo method

  1. @override
void addTo(
  1. EventSink sink
)
override

Adds this result to an EventSink.

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

Implementation

@override
void addTo(EventSink sink) {
  sink.addError(error, stackTrace);
}