NullStreamSink< T> constructor
Creates a null sink.
If done
is passed, it's used as the Sink.done
future. Otherwise, a
completed future is used.
Implementation
NullStreamSink({Future done}) : done = done ?? new Future.value();