ResourceTiming class

Timing information for the request.

Constructors

ResourceTiming({required num requestTime, required num proxyStart, required num proxyEnd, required num dnsStart, required num dnsEnd, required num connectStart, required num connectEnd, required num sslStart, required num sslEnd, required num workerStart, required num workerReady, required num workerFetchStart, required num workerRespondWithSettled, num? workerRouterEvaluationStart, num? workerCacheLookupStart, required num sendStart, required num sendEnd, required num pushStart, required num pushEnd, required num receiveHeadersStart, required num receiveHeadersEnd})
ResourceTiming.fromJson(Map<String, dynamic> json)
factory

Properties

connectEnd num
Connected to the remote host.
final
connectStart num
Started connecting to the remote host.
final
dnsEnd num
Finished DNS address resolve.
final
dnsStart num
Started DNS address resolve.
final
hashCode int
The hash code for this object.
no setterinherited
proxyEnd num
Finished resolving proxy.
final
proxyStart num
Started resolving proxy.
final
pushEnd num
Time the server finished pushing request.
final
pushStart num
Time the server started pushing request.
final
receiveHeadersEnd num
Finished receiving response headers.
final
receiveHeadersStart num
Started receiving response headers.
final
requestTime num
Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendEnd num
Finished sending request.
final
sendStart num
Started sending request.
final
sslEnd num
Finished SSL handshake.
final
sslStart num
Started SSL handshake.
final
workerCacheLookupStart num?
Started cache lookup when the source was evaluated to cache.
final
workerFetchStart num
Started fetch event.
final
workerReady num
Finished Starting ServiceWorker.
final
workerRespondWithSettled num
Settled fetch event respondWith promise.
final
workerRouterEvaluationStart num?
Started ServiceWorker static routing source evaluation.
final
workerStart num
Started running ServiceWorker.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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