SqfliteDatabaseFactoryLogger class abstract
Special wrapper that allows easily wrapping each API calls.
- Implemented types
- Available extensions
Constructors
- SqfliteDatabaseFactoryLogger(DatabaseFactory factory, {SqfliteLoggerOptions? options})
-
Wrap each call in a logger.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
closeDatabase(
SqfliteDatabase database) → Future< void> -
Close the database.
inherited
-
databaseExists(
String path) → Future< bool> -
Check if a database exists.
inherited
-
deleteDatabase(
String path) → Future< void> -
Delete the database file.
inherited
-
getDatabasesPath(
) → Future< String> -
Get the default databases location path.
inherited
-
invokeMethod<
T> (String method, [Object? arguments]) → Future< T> -
Invoke method
inherited
-
newDatabase(
SqfliteDatabaseOpenHelper openHelper, String path) → SqfliteDatabase -
Create a new database object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openDatabase(
String path, {OpenDatabaseOptions? options}) → Future< Database> -
Open a database at
path
with the given OpenDatabaseOptionsoptions
inherited -
readDatabaseBytes(
String path) → Future< Uint8List> -
Read database bytes.
inherited
-
removeDatabaseOpenHelper(
String path) → void -
Remove our internal open helper.
inherited
-
setDatabasesPath(
String path) → Future< void> -
Set the default databases location path
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
wrapDatabaseException<
T> (Future< T> action()) → Future<T> -
Wrap any exception to a DatabaseException.
inherited
-
writeDatabaseBytes(
String path, Uint8List bytes) → Future< void> -
Write database bytes.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited