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