PerformanceEntry class Null safety
The object encapsulates a single performance metric that is part
of the performance timeline. A performance entry can be directly
created by making a performance
measure (for example
by calling the
mark() method) at an explicit point in an
application. Performance entries are also created in indirect
ways such as loading a resource (such as an image).
Note: This feature is available in Web Workers
- duration → double
DOMHighResTimeStamprepresenting the time value of the duration of the performance event.read-only
- entryType → String
DOMStringrepresenting the type of performance metric such as, for example, "
mark". See property page for valid values.read-only
- hashCode → int
The hash code for this object. [...]
- name → String
A value that further specifies the value returned by the
PerformanceEntry.entryType property. The value of both depends
on the subtype. See property page for valid values.
- runtimeType → Type
A representation of the runtime type of the object.
- startTime → double
DOMHighResTimeStamprepresenting the starting time for the performance metric.read-only
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
) → dynamic
- Returns a JSON representation of the PerformanceEntry object. json = perfEntry.toJSON(); [...]
) → String
A string representation of this object. [...]