toJson method
Implementation
String toJson() {
return json.encode({
'status': status,
'body': body,
'headers': headers,
});
}
String toJson() {
return json.encode({
'status': status,
'body': body,
'headers': headers,
});
}