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