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