IDBFactory class

The interface of the IndexedDB API lets applications asynchronously access the indexed databases. The object that implements the interface is window.indexedDB. You open — that is, create and access — and delete a database with this object, and not directly with . Note: This feature is available in Web Workers

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

IDBFactory()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cmp(dynamic first, dynamic second) int

Available on IDBFactory, provided by the PropsIDBFactory extension

databases() Future<Iterable<IDBDatabaseInfo>>

Available on IDBFactory, provided by the PropsIDBFactory extension

deleteDatabase(String name) IDBOpenDBRequest

Available on IDBFactory, provided by the PropsIDBFactory extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String name, [int? version]) IDBOpenDBRequest

Available on IDBFactory, provided by the PropsIDBFactory extension

toString() String
A string representation of this object.
inherited

Operators

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