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