T> class Null safety
A sink where the destination is provided later.
The same effect can be achieved by using a StreamController and adding it
to the sink using
Sink.addStream when the destination sink is ready. This
class attempts to shortcut some of the overhead when possible. For example,
if the sink only has events added after the destination sink has been set,
those events are added directly to the sink.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
StreamSink< T>destinationSink) → void
- Sets a sink as the destination for events from the StreamSinkCompleter's sink. [...]
Object error, [StackTrace? stackTrace]) → void
Completes this to a closed sink whose
) → String
A string representation of this object. [...]