add method

  1. @override
void add(
  1. Event data
)
override

Adds data to the sink.

Must not be called after a call to close.

Implementation

@override
void add(Event data) {
  _controller.add(data);
}