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