dispose method
void
dispose()
Disposes the computable, making it unable to add new values and closing its StreamController.
Implementation
void dispose() {
_isClosed = true;
_controller?.close();
// When this computable is disposed, each of its dependents should remove it as a dependency.
for (final dependent in _dependents.toList()) {
dependent._removeDependency(this);
}
}