subscribe method
Subscribe to listener
Implementation
StreamSubscription<S> subscribe(BuildContext context, Function(S state) onData) {
return context.read<B>().stream.listen(onData);
}
Subscribe to listener
StreamSubscription<S> subscribe(BuildContext context, Function(S state) onData) {
return context.read<B>().stream.listen(onData);
}