CacheHandler constructor

CacheHandler({
  1. required LoggingOptions loggingOptions,
  2. required CacheOptions cacheOptions,
})

Implementation

CacheHandler({required this.loggingOptions, required this.cacheOptions}) {
  _storage = cacheOptions.useSecureStorage
      ? SecureStorageRepositoryImpl(
          keyPrefix: RestApiClientKeys.cachedStorageKey,
        )
      : StorageRepositoryImpl(keyPrefix: RestApiClientKeys.cachedStorageKey);
}