toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (affectedServices != null)
'affectedServices':
affectedServices!.map((value) => value.toJson()).toList(),
if (affectedUsersCount != null)
'affectedUsersCount': affectedUsersCount!,
if (count != null) 'count': count!,
if (firstSeenTime != null) 'firstSeenTime': firstSeenTime!,
if (group != null) 'group': group!.toJson(),
if (lastSeenTime != null) 'lastSeenTime': lastSeenTime!,
if (numAffectedServices != null)
'numAffectedServices': numAffectedServices!,
if (representative != null) 'representative': representative!.toJson(),
if (timedCounts != null)
'timedCounts': timedCounts!.map((value) => value.toJson()).toList(),
};