toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (advertiserId != null) 'advertiserId': advertiserId!,
  if (channelId != null) 'channelId': channelId!,
  if (displayName != null) 'displayName': displayName!,
  if (name != null) 'name': name!,
  if (negativelyTargetedLineItemCount != null)
    'negativelyTargetedLineItemCount': negativelyTargetedLineItemCount!,
  if (partnerId != null) 'partnerId': partnerId!,
  if (positivelyTargetedLineItemCount != null)
    'positivelyTargetedLineItemCount': positivelyTargetedLineItemCount!,
};