JsonCacheInfoRepository constructor

JsonCacheInfoRepository({
  1. String? path,
  2. String? databaseName,
})

Either the path or the database name should be provided. If the path is provider it should end with '{databaseName}.json', for example: /data/user/0/com.example.example/databases/imageCache.json

Implementation

JsonCacheInfoRepository({this.path, this.databaseName})
    : assert(path == null || databaseName == null);