sub property
StreamSubscription<T>
sub
Get a StreamSubscription with an empty StreamSubscription.onData] handler of this Stream.
Implementation
StreamSubscription<T> get sub => listen(
(_) {},
cancelOnError: false,
);