add method

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

Adds a data event to the sink.

Must not be called on a closed sink.

Implementation

@override
void add(T data) {
  _checkEventAllowed();
}