IdbFactory class Null safety

Out factory for opening a database instead of using window.indexedDB

Implementers

Constructors

IdbFactory()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
name String
idb_shim specific
read-only
persistent bool
whether the changes are persistent (i.e. not in memory)
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
supportsDatabaseNames bool
if getDatabaseNames can be called
read-only

Methods

cmp(Object first, Object second) int
compares two values as keys to determine equality and ordering for IndexedDB operations, such as storing and iterating.
deleteDatabase(String name, {OnBlockedFunction? onBlocked}) Future<IdbFactory>
performs the deletion operation asynchronously. [...]
getDatabaseNames() Future<List<String>>
list of databases
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
open(String dbName, {int? version, OnUpgradeNeededFunction? onUpgradeNeeded, OnBlockedFunction? onBlocked}) Future<Database>
requests opening a connection to a database. [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

supported bool
Changed to true when a factory is created
read-only