disposedBy method
Adds this sink to disposeScope
.
It will be closed when disposeScope
is disposed.
Implementation
void disposedBy(DisposeScope disposeScope) {
disposeScope.addDispose(close);
}
Adds this sink to disposeScope
.
It will be closed when disposeScope
is disposed.
void disposedBy(DisposeScope disposeScope) {
disposeScope.addDispose(close);
}