FlatDatabase class abstract
Extend this class to enable database functionality.
Constructors
Properties
-
changeListener
↔ StreamController<
Set< String> > -
StreamController that is responsible for notifying listeners about changes
in specific tables. It acts as an event bus.
latefinal
- database ↔ DatabaseExecutor
-
Use this whenever you need direct access to the sqflite database.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> - Closes the database.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transaction<
T> (Future< T> action(dynamic)) → Future<T> -
Just like the transaction in
sqflite.Database
, calls in action must only be done using the passed database object
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited