clone method
Returns a clone of this request.
Sub classes should override this, call super.clone() first to get the base clone, and then add fields specific to their implementation.
Implementation
@override
Request clone() {
final Request requestClone = super.clone() as Request;
if (_body != null) {
requestClone.body = body;
} else if (_bodyBytes != null) {
requestClone.bodyBytes = bodyBytes;
}
return requestClone;
}