WasmProbeResult class abstract interface

The result of probing the current browser for wasm compatibility.

This reports available storage implementations (availableStorages) and missingFeatures that contributed to some storage implementations not being available.

In addition, existingDatabases reports a list of existing databases. Note that databases stored in IndexedDb can't be listed reliably. Only databases with the name given in WasmDatabase.probe are listed. Databases stored in OPFS are always listed.

Properties

availableStorages List<WasmStorageImplementation>
All available WasmStorageImplementations supported by the current browsing context.
no setter
existingDatabases List<ExistingDatabase>
For every storage found, drift also reports existing drift databases.
no setter
hashCode int
The hash code for this object.
no setterinherited
missingFeatures Set<MissingBrowserFeature>
An enumeration of missing browser features probed by drift.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteDatabase(ExistingDatabase database) Future<void>
Deletes an ExistingDatabase from storage.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(WasmStorageImplementation implementation, String name, {FutureOr<Uint8List?> initializeDatabase()?, WasmDatabaseSetup? localSetup, bool enableMigrations = true}) Future<DatabaseConnection>
Opens a connection to a database via the chosen implementation.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited