SqliteTraceCallback class final
A callback for trace events, as registered through CommonDatabase.trace.
Constructors
- SqliteTraceCallback(int onTrace(SqliteTrace trace), {bool statement = true, bool row = true, bool profile = true})
-
Creates a trace callback that is invoked for the event categories
enabled through
statement,rowandprofile.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onTrace → int Function(SqliteTrace trace)
-
The function invoked synchronously while the traced statement is
running.
final
- profile → bool
-
Whether to report statements finishing to run, as SqliteTraceProfile
events.
final
- row → bool
-
Whether to report rows returned by a running statement, as
SqliteTraceRow events.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statement → bool
-
Whether to report statements starting to run, as SqliteTraceStatement
events.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited