toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deidentify != null) 'deidentify': deidentify!,
      if (jobNotificationEmails != null)
        'jobNotificationEmails': jobNotificationEmails!,
      if (pubSub != null) 'pubSub': pubSub!,
      if (publishFindingsToCloudDataCatalog != null)
        'publishFindingsToCloudDataCatalog':
            publishFindingsToCloudDataCatalog!,
      if (publishSummaryToCscc != null)
        'publishSummaryToCscc': publishSummaryToCscc!,
      if (publishToStackdriver != null)
        'publishToStackdriver': publishToStackdriver!,
      if (saveFindings != null) 'saveFindings': saveFindings!,
    };