toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'requestTime': requestTime,
'proxyStart': proxyStart,
'proxyEnd': proxyEnd,
'dnsStart': dnsStart,
'dnsEnd': dnsEnd,
'connectStart': connectStart,
'connectEnd': connectEnd,
'sslStart': sslStart,
'sslEnd': sslEnd,
'workerStart': workerStart,
'workerReady': workerReady,
'workerFetchStart': workerFetchStart,
'workerRespondWithSettled': workerRespondWithSettled,
'sendStart': sendStart,
'sendEnd': sendEnd,
'pushStart': pushStart,
'pushEnd': pushEnd,
'receiveHeadersStart': receiveHeadersStart,
'receiveHeadersEnd': receiveHeadersEnd,
if (workerRouterEvaluationStart != null)
'workerRouterEvaluationStart': workerRouterEvaluationStart,
if (workerCacheLookupStart != null)
'workerCacheLookupStart': workerCacheLookupStart,
};
}