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