toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final body = this.body;
final headers = this.headers;
final reason = this.reason;
final statusCode = this.statusCode;
return {
'body': ?body,
'headers': ?headers,
'reason': ?reason,
'statusCode': ?statusCode,
};
}