SimplePodNameGenerator constructor

const SimplePodNameGenerator()

Default implementation of the PodNameGenerator interface.

This generator produces pod names by taking the simple class name of the pod's type and decapitalizing the first character, following standard conventions.

For example, a class package:my_app/services/my_service.dart.MyService would be registered with the name myService.

Acronyms or all-uppercase prefixes (e.g. URLService) are not decapitalized, preserving the original class name casing.

This is the default pod name generation strategy used throughout the JetLeaf framework when no explicit pod name is provided via annotations or configuration.

Example usage:

final generator = SimplePodNameGenerator();
final podDef = RootPodDefinition(type: Class<UserService>());
final podName = generator.generate(podDef, registry);
print(podName); // 'userService'

Creates a new default pod name generator instance.

Example:

final generator = SimplePodNameGenerator();

Implementation

const SimplePodNameGenerator();