DatabaseMode class
The modes in which a Database can be opened.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- create → const DatabaseMode
- The database is created if not found
- defaultMode → const DatabaseMode
- Default open mode neverFails
- empty → const DatabaseMode
- Empty the existing database
- existing → const DatabaseMode
- Open an existing database, fail otherwise
- neverFails → const DatabaseMode
- This mode will never fails Corrupted database will be deleted This is the default