collect method

StreamSubscription<T> collect()

Listen without any handler.

Implementation

StreamSubscription<T> collect() =>
    _CollectStreamSubscription<T>(listen(null));