DbCacheStore constructor

DbCacheStore({
  1. required String databasePath,
  2. String databaseName = tableName,
  3. bool logStatements = false,
})

Implementation

DbCacheStore({
  required this.databasePath,
  this.databaseName = tableName,
  this.logStatements = false,
}) : _db = openDb(
        databasePath: databasePath,
        databaseName: databaseName,
        logStatements: logStatements,
      ) {
  clean(staleOnly: true);
}