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