CacheManager.custom constructor

  1. @visibleForTesting
CacheManager.custom(
  1. Config config,
  2. {CacheStore? cacheStore,
  3. WebHelper? webHelper}
)

Implementation

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