PerformanceElementTiming class Null safety

The interface of the Element Timing API reports timing information on a specific element identified by the page author. For example it could report timing information about the main image in an article.

Mixed in types
Annotations

Constructors

PerformanceElementTiming()
factory

Properties

duration double
A DOMHighResTimeStamp representing the time value of the duration of the performance event.
read-only, inherited
element Element?
An Element representing the element we are returning information about.
read-only
entryType String
A DOMString representing the type of performance metric such as, for example, "mark". See property page for valid values.
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
A DOMString which is the of the element.
read-only
identifier String
A DOMString which is the value of the elementtiming attribute on the element.
read-only
intersectionRect DOMRectReadOnly
A DOMRectReadOnly which is the rectangle of the element within the viewport.
read-only
loadTime double
A DOMHighResTimeStamp with the loadTime of the element.
read-only
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.
read-only, inherited
naturalHeight int
An unsigned 32-bit integer (unsigned long) which is the intrinsic height of the image if this is applied to an image, 0 for text.
read-only
naturalWidth int
An unsigned 32-bit integer (unsigned long) which is the intrinsic width of the image if this is applied to an image, 0 for text.
read-only
renderTime double
A DOMHighResTimeStamp with the renderTime of the element.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startTime double
A DOMHighResTimeStamp representing the starting time for the performance metric.
read-only, inherited
url String
A DOMString which is the initial URL of the resources request for images, 0 for text.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJSON() → dynamic
Generates a JSON description of the object. var json = PerformanceElementTiming.toJSON();
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited