DatabaseMode class

The modes in which a Database can be opened.

Properties

hashCode → int
The hash code for this object. [...]
read-only, override
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic o) → bool
The equality operator. [...]
override

Constants

create → const DatabaseMode
The database is created if not found
const DatabaseMode._internal(0)
defaultMode → const DatabaseMode
Default open mode neverFails
neverFails
empty → const DatabaseMode
Empty the existing database
const DatabaseMode._internal(2)
existing → const DatabaseMode
Open an existing database, fail otherwise
const DatabaseMode._internal(1)
neverFails → const DatabaseMode
This mode will never fails Corrupted database will be deleted This is the default
const DatabaseMode._internal(3)