A single timeline event.

Constructors

TimelineEvent(Map<String, dynamic> json)

Creates a timeline event given JSON-encoded event data.

factory

Properties

arguments → Map<String, dynamic>

Arbitrary data attached to the event.

read-only
category → String

Event category. Events with different names may share the same category.

read-only
duration → Duration

The duration of the event.

read-only
json → Map<String, dynamic>

The original event JSON.

read-only
name → String

The name of the event.

read-only
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".

read-only
processId → int

ID of process that emitted the event.

read-only
threadId → int

ID of thread that issues the event.

read-only
threadTimestampMicros → int

Thread clock time, in microseconds.

read-only
timestampMicros → int

Time passed since tracing was enabled, in microseconds.

read-only
hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited