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