clone method

Method clone()

Implementation

Method clone() {
  final ret = Method(
    method: method,
    headers: getHeaders,
    authHeaders: getAuthHeaders,
    cookies: getCookies,
    before: getBefore,
    after: getAfter,
    metadata: getMetadata,
    client: getClient,
  );
  ret.uri = uri.clone();

  return ret;
}