Baseflow / Baseflow/flutter_cache_manager

IOFileSystem - problem using the Customize example in the docs for 2.0.0

Open
#238 8 comments 18 reactions 0 assignees View on GitHub
type: documentation
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

I'm upgrading from the previous version to 2.0.0 and trying to follow the new Customize instructions to use CacheManager instead of BaseCacheManager. The reference to IOFileSystem doesn't resolve. What am I doing wrong?

```dart
CacheManager(
Config(
key,
stalePeriod: const Duration(days: 7),
maxNrOfCacheObjects: 60,
repo: JsonCacheInfoRepository(databaseName: key),
fileSystem: IOFileSystem(key),
fileService: HttpFileService(),
),
);
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.