CacheManager.custom constructor
CacheManager.custom(
- Config config, {
- CacheStore? cacheStore,
- WebHelper? webHelper,
Implementation
@visibleForTesting
CacheManager.custom(
Config config, {
CacheStore? cacheStore,
WebHelper? webHelper,
}) : _config = config,
_store = cacheStore ?? CacheStore(config) {
_webHelper = webHelper ?? WebHelper(_store, config.fileService);
}