SqfliteWebSetupOptions constructor

SqfliteWebSetupOptions({
  1. String? path,
  2. String? dir,
  3. bool? force,
  4. bool? verbose,
  5. Uri? sqlite3WasmUri,
  6. bool? noSqlite3Wasm,
  7. String? sqlite3WasmFilename,
  8. String? sqfliteWebWorkerFilename,
})

Setup options.

Implementation

SqfliteWebSetupOptions({
  String? path,
  String? dir,
  bool? force,
  bool? verbose,
  Uri? sqlite3WasmUri,
  bool? noSqlite3Wasm,
  this.sqlite3WasmFilename,
  this.sqfliteWebWorkerFilename,
}) {
  this.dir = dir ?? 'web';
  this.path = normalize(absolute(path ?? '.'));
  this.force = force ?? false;
  this.verbose = verbose ?? false;
  this.noSqlite3Wasm = noSqlite3Wasm ?? false;
  this.sqlite3WasmUri = sqlite3WasmUri ?? sqlite3WasmReleaseUri;
  assert(isRelative(this.dir));
}