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