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