copy method

Returns a copy of this response with copied headers.

Implementation

NetLensHttpResponse copy() => NetLensHttpResponse()
  ..status = status
  ..size = size
  ..time = time
  ..body = body
  ..headers = headers == null ? null : Map<String, String>.of(headers!);