toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accountId != null) 'accountId': accountId!,
if (adChoicesDestinationUrl != null)
'adChoicesDestinationUrl': adChoicesDestinationUrl!,
if (advertiserName != null) 'advertiserName': advertiserName!,
if (agencyId != null) 'agencyId': agencyId!,
if (apiUpdateTime != null) 'apiUpdateTime': apiUpdateTime!,
if (creativeFormat != null) 'creativeFormat': creativeFormat!,
if (creativeId != null) 'creativeId': creativeId!,
if (creativeServingDecision != null)
'creativeServingDecision': creativeServingDecision!,
if (dealIds != null) 'dealIds': dealIds!,
if (declaredAttributes != null)
'declaredAttributes': declaredAttributes!,
if (declaredClickThroughUrls != null)
'declaredClickThroughUrls': declaredClickThroughUrls!,
if (declaredRestrictedCategories != null)
'declaredRestrictedCategories': declaredRestrictedCategories!,
if (declaredVendorIds != null) 'declaredVendorIds': declaredVendorIds!,
if (html != null) 'html': html!,
if (impressionTrackingUrls != null)
'impressionTrackingUrls': impressionTrackingUrls!,
if (name != null) 'name': name!,
if (native != null) 'native': native!,
if (renderUrl != null) 'renderUrl': renderUrl!,
if (restrictedCategories != null)
'restrictedCategories': restrictedCategories!,
if (version != null) 'version': version!,
if (video != null) 'video': video!,
};