removeDependency method
Remove a dependency to this job that was added with addDependency.
If the given job is not a dependency of this job, this will assert.
See also:
- addDependency which adds a single job.
- removeDependencies which removes all of the given jobs as dependencies of this job.
Implementation
void removeDependency(DependentJob job) {
assert(_dependsOn.contains(job));
assert(job != this);
_dependsOn.remove(job);
}