addStream method Null safety

Future addStream (
  1. Stream<List<int>> stream
)
inherited

Adds all elements of the given stream to this.

Returns a Future that completes when all elements of the given stream are added to this.

This function must not be called when a stream is currently being added using this function.

Implementation

Future addStream(Stream<List<int>> stream) => _sink.addStream(stream);