toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activeDisplayAudienceSize != null)
        'activeDisplayAudienceSize': activeDisplayAudienceSize!,
      if (appId != null) 'appId': appId!,
      if (audienceSource != null) 'audienceSource': audienceSource!,
      if (audienceType != null) 'audienceType': audienceType!,
      if (contactInfoList != null) 'contactInfoList': contactInfoList!,
      if (description != null) 'description': description!,
      if (displayAudienceSize != null)
        'displayAudienceSize': displayAudienceSize!,
      if (displayDesktopAudienceSize != null)
        'displayDesktopAudienceSize': displayDesktopAudienceSize!,
      if (displayMobileAppAudienceSize != null)
        'displayMobileAppAudienceSize': displayMobileAppAudienceSize!,
      if (displayMobileWebAudienceSize != null)
        'displayMobileWebAudienceSize': displayMobileWebAudienceSize!,
      if (displayName != null) 'displayName': displayName!,
      if (firstAndThirdPartyAudienceId != null)
        'firstAndThirdPartyAudienceId': firstAndThirdPartyAudienceId!,
      if (firstAndThirdPartyAudienceType != null)
        'firstAndThirdPartyAudienceType': firstAndThirdPartyAudienceType!,
      if (gmailAudienceSize != null) 'gmailAudienceSize': gmailAudienceSize!,
      if (membershipDurationDays != null)
        'membershipDurationDays': membershipDurationDays!,
      if (mobileDeviceIdList != null)
        'mobileDeviceIdList': mobileDeviceIdList!,
      if (name != null) 'name': name!,
      if (youtubeAudienceSize != null)
        'youtubeAudienceSize': youtubeAudienceSize!,
    };