IdbFactory class abstract

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

Implementers
Available extensions

Constructors

IdbFactory()

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
idb_shim specific
no setter
persistent bool
whether the changes are persistent (i.e. not in memory)
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportsDatabaseNames bool
if getDatabaseNames can be called
no setter

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 database names (only available if supportsDatabaseNames returns true).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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
no setter