containsLocalPod method

  1. @override
Future<bool> containsLocalPod(
  1. String podName
)

Checks if a pod with the given name is registered locally in this factory.

Unlike containsPod, this method only checks the current factory and does not delegate to parent factories.

Usage Example:

if (await factory.containsLocalPod('localService')) {
  print('localService is defined in this factory, not inherited from parent');
}

@param podName The name of the pod to check @return A Future that completes with true if the pod exists locally

Implementation

@override
Future<bool> containsLocalPod(String podName) => getPodFactory().containsLocalPod(podName);