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