Tracer class
Performance tracing utility for monitoring API calls and callbacks
Collects timing data and execution results for debugging and performance analysis
Constructors
- Tracer()
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
-
clear(
) → void - Clear tracing data
-
collectApiCall(
Map< String, dynamic> data) → TraceSpan - Record an API call with parameters
-
collectCallbackEmit(
{required String source, required String target, required String eventName, required dynamic eventData}) → TraceSpan - Collect callback emit tracking
-
disable(
) → void - Disable tracing data collection
-
enable(
) → void - Enable tracing data collection
-
getTraces(
) → List< Map< String, dynamic> > - Get all tracing data
-
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