instance property Null safety

CacheManager instance
read / write

Implementation

static CacheManager instance = CacheManager(
  Config(
    key,
    stalePeriod: const Duration(days: 1),
    maxNrOfCacheObjects: 20,
    repo: JsonCacheInfoRepository(databaseName: key),
    //fileSystem: IOFileSystem(key),
    fileService: HttpFileService(),
  ),
);