add method

void add (T data)
override

Adds data to the sink.

Must not be called after a call to close.

Implementation

void add(T data) {
  _sink.add(data);
}