copy method

Returns a copy of this call. Request, response and error are copied too, so the copy can be changed without changing the stored call.

Implementation

NetLensHttpCall copy() => NetLensHttpCall(id, createdTime: createdTime)
  ..client = client
  ..loading = loading
  ..secure = secure
  ..method = method
  ..endpoint = endpoint
  ..server = server
  ..uri = uri
  ..duration = duration
  ..request = request?.copy()
  ..response = response?.copy()
  ..error = error?.copy();