A object that accepts stream events both synchronously and asynchronously.
When EventSink methods are used, the [done] [Future] can be used to catch any errors.
When close is called, it will return the [done] [Future].
S event) → void
Send a data event to a stream.inherited
errorEvent, [StackTrace stackTrace]) → void
Send an async error to a stream.inherited
Stream<S> stream) → Future
Consumes the elements of
) → Future
Tells the stream sink that no further streams will be added.…
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.…inherited
) → String
Returns a string representation of this object.inherited