putFactory<T> method
Register a factory function
Implementation
void putFactory<T>(T Function() factory, {String? tag}) {
_scope.putFactory<T>(factory, tag: tag);
if (ZenConfig.enableDebugLogs) {
ZenLogger.logDebug('Registered factory for $T in test container');
}
}