toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adGroupAdId != null) 'adGroupAdId': adGroupAdId!,
      if (adGroupId != null) 'adGroupId': adGroupId!,
      if (adUrls != null) 'adUrls': adUrls!,
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (audioAd != null) 'audioAd': audioAd!,
      if (bumperAd != null) 'bumperAd': bumperAd!,
      if (displayName != null) 'displayName': displayName!,
      if (displayVideoSourceAd != null)
        'displayVideoSourceAd': displayVideoSourceAd!,
      if (entityStatus != null) 'entityStatus': entityStatus!,
      if (inStreamAd != null) 'inStreamAd': inStreamAd!,
      if (mastheadAd != null) 'mastheadAd': mastheadAd!,
      if (name != null) 'name': name!,
      if (nonSkippableAd != null) 'nonSkippableAd': nonSkippableAd!,
      if (videoDiscoverAd != null) 'videoDiscoverAd': videoDiscoverAd!,
      if (videoPerformanceAd != null)
        'videoPerformanceAd': videoPerformanceAd!,
    };