listen<T> method
Implementation
StreamSubscription<T> listen<T>(Stream<T> stream, void Function(T) onData) {
StreamSubscription<T> s = stream.listen(onData);
_subscriptions.add(s);
return s;
}
StreamSubscription<T> listen<T>(Stream<T> stream, void Function(T) onData) {
StreamSubscription<T> s = stream.listen(onData);
_subscriptions.add(s);
return s;
}