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