DatabaseMode class Null safety

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
A string representation of this object. [...]
override

Operators

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

Constants

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