toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (auth != null) 'auth': auth!,
if (headers != null) 'headers': headers!,
if (host != null) 'host': host!,
if (id != null) 'id': id!,
if (method != null) 'method': method!,
if (path != null) 'path': path!,
if (protocol != null) 'protocol': protocol!,
if (query != null) 'query': query!,
if (reason != null) 'reason': reason!,
if (scheme != null) 'scheme': scheme!,
if (size != null) 'size': size!,
if (time != null) 'time': time!,
};