Dart Computer Programming for Intermediates: 04 Stream Pipe

Published: 10 March 2019
on channel: Dash to Dartlang
1,007
15

Pipe is a method to add a Stream to the StreamController. If you have a StreamController object, you add a Stream using Sink. If you have a Stream that you want to add to a StreamController, you add the Stream using Pipe. It is just a matter of perspective and which object it is best to use in your circumstances.

code: https://gist.github.com/dashtodartlan...