collectDependencies method

Iterable<InjectorKey> collectDependencies()

Collects all required dependencies of this service and its conditions.

Implementation

Iterable<InjectorKey> collectDependencies() sync* {
  yield* dependencies;
  for (var condition in conditions) {
    yield* condition.dependencies;
  }
}