subscribeToUpdates method
Registers the given callback methods with the underlying stream and returns
the resulting StreamSubscription
.
Implementation
StreamSubscription subscribeToUpdates(void Function(BlocController) onUpdate,
{void Function(Error, StackTrace) onError, void Function() onDone}) {
return _subject.listen(onUpdate, onError: onError, onDone: onDone);
}