Request.simulated constructor
Constructor for a simulated request.
Implementation
Request.simulated(String method, String internalPath,
{String sessionId,
String id,
RequestParams queryParams,
SimulatedHttpHeaders headers,
List<Cookie> cookies,
String bodyStr,
List<int> bodyBytes,
this.postParams})
: _id = id,
_coreRequest = new _CoreRequestSimulated(method, internalPath,
sessionId: sessionId,
queryParams: queryParams,
headers: headers,
cookies: cookies,
bodyStr: bodyStr,
bodyBytes: bodyBytes),
_coreResponse = new _CoreResponseSimulated() {
_simulatedConstructorCommon(queryParams);
}