toCached method

Converts NetLensHttpResponse to CachedNetLensHttpResponse.

Implementation

CachedNetLensHttpResponse toCached() => CachedNetLensHttpResponse(
  status: status,
  size: size,
  time: time,
  body: body,
  headers: headers,
);