toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (host != null) 'host': host!,
if (httpHeaders != null) 'httpHeaders': httpHeaders!,
if (path != null) 'path': path!,
if (port != null) 'port': port!,
if (scheme != null) 'scheme': scheme!,
};