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