ResponseData constructor
ResponseData({
- required String url,
- required int status,
- required String statusText,
- required Headers headers,
- required String mimeType,
- required String charset,
- Headers? requestHeaders,
- required bool connectionReused,
- required num connectionId,
- String? remoteIPAddress,
- int? remotePort,
- bool? fromDiskCache,
- bool? fromServiceWorker,
- bool? fromPrefetchCache,
- bool? fromEarlyHints,
- ServiceWorkerRouterInfo? serviceWorkerRouterInfo,
- 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,
required this.charset,
this.requestHeaders,
required this.connectionReused,
required this.connectionId,
this.remoteIPAddress,
this.remotePort,
this.fromDiskCache,
this.fromServiceWorker,
this.fromPrefetchCache,
this.fromEarlyHints,
this.serviceWorkerRouterInfo,
required this.encodedDataLength,
this.timing,
this.serviceWorkerResponseSource,
this.responseTime,
this.cacheStorageCacheName,
this.protocol,
this.alternateProtocolUsage,
required this.securityState,
this.securityDetails});