ResponseData constructor
ResponseData({
- required String url,
- required int status,
- required String statusText,
- required Headers headers,
- required String mimeType,
- Headers? requestHeaders,
- required bool connectionReused,
- required num connectionId,
- String? remoteIPAddress,
- int? remotePort,
- bool? fromDiskCache,
- bool? fromServiceWorker,
- bool? fromPrefetchCache,
- required num encodedDataLength,
- ResourceTiming? timing,
- ServiceWorkerResponseSource? serviceWorkerResponseSource,
- TimeSinceEpoch? responseTime,
- String? cacheStorageCacheName,
- String? protocol,
- AlternateProtocolUsage? alternateProtocolUsage,
- required SecurityState securityState,
- SecurityDetails? securityDetails,
Implementation
ResponseData(
{required this.url,
required this.status,
required this.statusText,
required this.headers,
required this.mimeType,
this.requestHeaders,
required this.connectionReused,
required this.connectionId,
this.remoteIPAddress,
this.remotePort,
this.fromDiskCache,
this.fromServiceWorker,
this.fromPrefetchCache,
required this.encodedDataLength,
this.timing,
this.serviceWorkerResponseSource,
this.responseTime,
this.cacheStorageCacheName,
this.protocol,
this.alternateProtocolUsage,
required this.securityState,
this.securityDetails});