Created
August 25, 2019 13:05
-
-
Save nickmeinhold/c60f03f23a1d5be144940212b6526500 to your computer and use it in GitHub Desktop.
A stream made from an iterable will emit the done event
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
Stream.fromIterable([1,2]).listen(print, onDone: () => print('onDone')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment