SqliteOptions.file constructor

const SqliteOptions.file(
  1. String path, {
  2. SqliteJournal? journal = SqliteJournal.wal,
  3. Duration busyTimeout = const Duration(seconds: 5),
})

A native file. Web callers should use SqliteOptions.persistent.

Implementation

const SqliteOptions.file(
  this.path, {
  this.journal = SqliteJournal.wal,
  this.busyTimeout = const Duration(seconds: 5),
}) : name = null,
     readOnly = false,
     web = const SqliteWebOptions();