DatabaseFactory class abstract

The database factory that allow opening database

Constructors

DatabaseFactory()

Properties

hashCode int
The hash code for this object.
no setterinherited
hasStorage bool
True if it has an associated storage (fs, idb).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteDatabase(String path) Future<void>
Delete a database if existing
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDatabase(String path, {int? version, OnVersionChangedFunction? onVersionChanged, DatabaseMode? mode, SembastCodec? codec}) Future<Database>
Open a new or existing database.
toString() String
A string representation of this object.
inherited

Operators

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