getNumberOfPodDefinitions abstract method
Returns the total number of pods registered.
This method provides a count of all pods currently registered, which is useful for monitoring, capacity planning, and testing.
Returns the total number of pods in the registry. Returns 0 if the registry is empty.
Example:
final count = registry.getDefinitionCount();
print('Total pods registered: $count');
if (count == 0) {
print('Registry is empty - initializing default pods...');
initializeDefaultPods(registry);
}
Implementation
int getNumberOfPodDefinitions();