toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (adsPersonalizationEnabled != null)
'adsPersonalizationEnabled': adsPersonalizationEnabled!,
if (advertiserDisplayName != null)
'advertiserDisplayName': advertiserDisplayName!,
if (advertiserId != null) 'advertiserId': advertiserId!,
if (campaignDataSharingEnabled != null)
'campaignDataSharingEnabled': campaignDataSharingEnabled!,
if (costDataSharingEnabled != null)
'costDataSharingEnabled': costDataSharingEnabled!,
if (name != null) 'name': name!,
};