Created
February 10, 2020 22:49
-
-
Save kwalrath/abe479144357010fbc2775d7c45ff055 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
final subscription = myStream.listen( | |
(data) { | |
print('Data: $data'); | |
}, | |
onError: (err) { | |
print('Error!'); | |
}, | |
cancelOnError: false, | |
onDone: () { | |
print('Done!'); | |
}, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment