S> class Null safety
A object that accepts stream events both synchronously and asynchronously.
S event ) → void
Adds a data
eventto the sink. [...]inherited
Object error, [StackTrace? stackTrace] ) → void
errorto the sink. [...]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. [...]
) → String
Returns a string representation of this object.