DAQCache constructor
DAQCache({
- required DAQConfig config,
Implementation
DAQCache({required this.config}) {
// Initialize the logger with the config setting
DAQLogger.instance.setEnabled(config.enableLogging);
// Initialize components
_cacheStorage = CacheStorage();
_cacheInvalidator = CacheInvalidator(_cacheStorage);
_cacheMutator = CacheMutator(_cacheStorage);
_requestDeduplicator = RequestDeduplicator();
}