disposedBy method

StreamSubscription disposedBy(
  1. DisposeBag bag
)

Implementation

StreamSubscription disposedBy(DisposeBag bag) {
  bag.add(this);
  return this;
}