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