CachedResponse constructor
CachedResponse({})
Implementation
CachedResponse({
required this.id,
required this.bytes,
required this.request,
required this.expiry,
required DateTime? downloadedAt,
required this.headers,
required this.isRedirect,
required this.persistentConnection,
required this.reasonPhrase,
required this.statusCode,
}) : downloadedAt = downloadedAt ?? DateTime.now(),
contentLength = bytes.length;