TimelineEvent class Null safety
A single timeline event.
Constructors
-
TimelineEvent(Map<
String, dynamic> json) - Creates a timeline event given JSON-encoded event data.
Properties
-
arguments
→ Map<
String, dynamic> ? -
Arbitrary data attached to the event.
final
- category → String?
-
Event category. Events with different names may share the same category.
final
- duration → Duration?
-
The duration of the event.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
json
→ Map<
String, dynamic> -
The original event JSON.
final
- name → String?
-
The name of the event.
final
- phase → String?
-
For a given long lasting event, denotes the phase of the event, such as
"B" for "event began", and "E" for "event ended".
final
- processId → int?
-
ID of process that emitted the event.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- threadDuration → Duration?
-
The thread duration of the event.
final
- threadId → int?
-
ID of thread that issues the event.
final
- threadTimestampMicros → int?
-
Thread clock time, in microseconds.
final
- timestampMicros → int?
-
Time passed since tracing was enabled, in microseconds.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited