toJson method
Implementation
Map<String, dynamic> toJson() {
if (headers == null) {
headers = new Map();
}
return {
'requestId' : requestId,
'timeStamp' : timeStamp,
'headers' : headers,
'method' : method,
'uri' : uri,
'body' : body,
};
}