toJson method

Map<String, dynamic> toJson()

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 (linkProposalStatusDetails != null)
        'linkProposalStatusDetails': linkProposalStatusDetails!.toJson(),
      if (name != null) 'name': name!,
      if (validationEmail != null) 'validationEmail': validationEmail!,
    };