populateValues method
Performs additional value population after standard property population.
This method is called after all standard property population has completed and allows for additional initialization that may require the pod to be in a partially populated state.
Use Cases
- Complex initialization requiring multiple property values
- Async resource loading or configuration
- Cross-property validation or normalization
- Registration with external systems
Parameters
@param pod The pod instance with properties populated @param podClass The class metadata of the pod @param name The name of the pod in the container
Example:
@override
Future<void> populateValues(Object pod, Class podClass, String name) async {
if (pod is DatabaseService) {
// Perform async initialization after properties are set
await pod.initializeConnection();
}
}
Implementation
Future<void> populateValues(Object pod, Class podClass, String name) async {}