toJson method

Map<String, dynamic> toJson()

Implementation

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