ResponseData constructor

ResponseData({
  1. required String url,
  2. required int status,
  3. required String statusText,
  4. required Headers headers,
  5. required String mimeType,
  6. Headers? requestHeaders,
  7. required bool connectionReused,
  8. required num connectionId,
  9. String? remoteIPAddress,
  10. int? remotePort,
  11. bool? fromDiskCache,
  12. bool? fromServiceWorker,
  13. bool? fromPrefetchCache,
  14. required num encodedDataLength,
  15. ResourceTiming? timing,
  16. ServiceWorkerResponseSource? serviceWorkerResponseSource,
  17. TimeSinceEpoch? responseTime,
  18. String? cacheStorageCacheName,
  19. String? protocol,
  20. AlternateProtocolUsage? alternateProtocolUsage,
  21. required SecurityState securityState,
  22. 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});