toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (advertiserIdDimensionValue != null)
        'advertiserIdDimensionValue': advertiserIdDimensionValue!,
      if (campaignId != null) 'campaignId': campaignId!,
      if (campaignIdDimensionValue != null)
        'campaignIdDimensionValue': campaignIdDimensionValue!,
      if (enabledByDefault != null) 'enabledByDefault': enabledByDefault!,
      if (excludeFromAdxRequests != null)
        'excludeFromAdxRequests': excludeFromAdxRequests!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (siteFilterType != null) 'siteFilterType': siteFilterType!,
      if (siteIds != null) 'siteIds': siteIds!,
      if (sslCompliant != null) 'sslCompliant': sslCompliant!,
      if (status != null) 'status': status!,
      if (subaccountId != null) 'subaccountId': subaccountId!,
      if (type != null) 'type': type!,
      if (url != null) 'url': url!,
      if (urlEscapeLevels != null) 'urlEscapeLevels': urlEscapeLevels!,
    };