toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (purgedEventsCount != null) 'purgedEventsCount': purgedEventsCount!,
if (userEventsSample != null)
'userEventsSample':
userEventsSample!.map((value) => value.toJson()).toList(),
};