toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (defaultAdvertiserId != null)
    'defaultAdvertiserId': defaultAdvertiserId!,
  if (defaultCampaignId != null) 'defaultCampaignId': defaultCampaignId!,
  if (displayName != null) 'displayName': displayName!,
  if (exchange != null) 'exchange': exchange!,
  if (guaranteedOrderId != null) 'guaranteedOrderId': guaranteedOrderId!,
  if (legacyGuaranteedOrderId != null)
    'legacyGuaranteedOrderId': legacyGuaranteedOrderId!,
  if (name != null) 'name': name!,
  if (publisherName != null) 'publisherName': publisherName!,
  if (readAccessInherited != null)
    'readAccessInherited': readAccessInherited!,
  if (readAdvertiserIds != null) 'readAdvertiserIds': readAdvertiserIds!,
  if (readWriteAdvertiserId != null)
    'readWriteAdvertiserId': readWriteAdvertiserId!,
  if (readWritePartnerId != null) 'readWritePartnerId': readWritePartnerId!,
  if (status != null) 'status': status!,
  if (updateTime != null) 'updateTime': updateTime!,
};