DriftWebOptions class final
Web-specific options used to open drift databases.
These options are ignored when drift is opened on native platforms.
Constructors
- DriftWebOptions.new({required Uri sqlite3Wasm, required Uri driftWorker, void onResult(WasmDatabaseResult)?})
- Create web-specific drift options.
Properties
- driftWorker → Uri
-
A uri pointing to the compiled drift worker.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onResult → void Function(WasmDatabaseResult)?
-
A method invoked when opening a database on the web, giving you access to
the WasmDatabaseResult obtained before opening the database.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sqlite3Wasm → Uri
-
A uri pointing to the compiled sqlite3 WebAssembly module.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited