toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (accountId != null) 'accountId': accountId!,
  if (adSlots != null) 'adSlots': adSlots!,
  if (advertiserId != null) 'advertiserId': advertiserId!,
  if (contentCategoryId != null) 'contentCategoryId': contentCategoryId!,
  if (estimatedClickThroughRate != null)
    'estimatedClickThroughRate': estimatedClickThroughRate!,
  if (estimatedConversionRate != null)
    'estimatedConversionRate': estimatedConversionRate!,
  if (id != null) 'id': id!,
  if (inPlan != null) 'inPlan': inPlan!,
  if (kind != null) 'kind': kind!,
  if (lastModifiedInfo != null) 'lastModifiedInfo': lastModifiedInfo!,
  if (name != null) 'name': name!,
  if (negotiationChannelId != null)
    'negotiationChannelId': negotiationChannelId!,
  if (orderId != null) 'orderId': orderId!,
  if (placementStrategyId != null)
    'placementStrategyId': placementStrategyId!,
  if (pricing != null) 'pricing': pricing!,
  if (projectId != null) 'projectId': projectId!,
  if (rfpId != null) 'rfpId': rfpId!,
  if (siteId != null) 'siteId': siteId!,
  if (subaccountId != null) 'subaccountId': subaccountId!,
  if (type != null) 'type': type!,
};