Created
March 4, 2021 01:07
-
-
Save diefferson/ebe637c9a262b1a43f97c2c7d1eeac6c 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
class CounterBloc { | |
final _counterController = StreamController<Int>(); | |
Sink<Int> get _counterSink => _counterController.sink; | |
Stream<Int> get counterStream => _counterControler.stream; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment