disposedBy method
Adds this StreamSubscription
s to bag
or cancel it if the bag has been disposed.
Implementation
Future<void> disposedBy(DisposeBag bag) => bag.addAll(this);
Adds this StreamSubscription
s to bag
or cancel it if the bag has been disposed.
Future<void> disposedBy(DisposeBag bag) => bag.addAll(this);