disposedBy method
Adds this stream subscription to disposeScope
.
It will be canceled when disposeScope
is disposed.
Implementation
void disposedBy(DisposeScope disposeScope) {
disposeScope.addDispose(cancel);
}
Adds this stream subscription to disposeScope
.
It will be canceled when disposeScope
is disposed.
void disposedBy(DisposeScope disposeScope) {
disposeScope.addDispose(cancel);
}