toJson method

Map<String, dynamic> toJson()

Implementation

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