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