# getDependentPods method

1. @protected

List<String> getDependentPods(

1. String name

)
inherited

Return the names of all pods which depend on the specified pod, if any.

`name`: The name of the pod to get dependents for Returns a list of pod names that depend on the specified pod

Example:

    final dependents = registry.getDependentPods('userService');
    print('Pods that depend on UserService: $dependents');

## Implementation

    @protected
    List<String> getDependentPods(String name) {
      final dependents = _dependentPods[name];

      if (dependents == null) {
        return [];
      }

      return synchronized(_dependentPods, () => List.from(dependents));
    }