add method Null safety

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

Adds data to the sink.

Must not be called after a call to close.

Implementation

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