CacheObjectProvider constructor

CacheObjectProvider({
  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}.db', for example: /data/user/0/com.example.example/databases/imageCache.db

Implementation

CacheObjectProvider({String? path, this.databaseName}) : _path = path;