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