toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final auth = this.auth;
final headers = this.headers;
final host = this.host;
final id = this.id;
final method = this.method;
final origin = this.origin;
final path = this.path;
final protocol = this.protocol;
final query = this.query;
final reason = this.reason;
final scheme = this.scheme;
final size = this.size;
final time = this.time;
return {
'auth': ?auth,
'headers': ?headers,
'host': ?host,
'id': ?id,
'method': ?method,
'origin': ?origin,
'path': ?path,
'protocol': ?protocol,
'query': ?query,
'reason': ?reason,
'scheme': ?scheme,
'size': ?size,
'time': ?time,
};
}