DefaultProfilerSession class
/////////////////////////////////////////////////////////////////////////// Represents a profiling session for measuring operation duration
- Implemented types
Properties
- category → String
-
final
- duration → Duration
-
Gets the duration of the session
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
-
metadata
→ Map<
String, dynamic> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → DateTime
-
final
Methods
-
addMetadata(
String key, dynamic value) → void -
Adds metadata to the session
override
-
checkpoint(
String name) → void -
Records a checkpoint within the session
override
-
complete(
) → void -
Completes the profiling session
override
-
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