Future addStream(Stream<List<int>> stream)

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.

Source

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