clearDependencies method Null safety

void clearDependencies()
inherited

Implementation

void clearDependencies() {
  for (final parentDep in _dependsOn) {
    parentDep._dependents.remove(this);
  }
  _dependsOn.clear();
}