toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (action != null) 'action': action!,
      if (adClients != null) 'adClients': adClients!,
      if (adRequestCount != null) 'adRequestCount': adRequestCount!,
      if (entityType != null) 'entityType': entityType!,
      if (firstDetectedDate != null) 'firstDetectedDate': firstDetectedDate!,
      if (lastDetectedDate != null) 'lastDetectedDate': lastDetectedDate!,
      if (name != null) 'name': name!,
      if (policyTopics != null) 'policyTopics': policyTopics!,
      if (site != null) 'site': site!,
      if (siteSection != null) 'siteSection': siteSection!,
      if (uri != null) 'uri': uri!,
      if (warningEscalationDate != null)
        'warningEscalationDate': warningEscalationDate!,
    };