FirstAndThirdPartyAudience.fromJson constructor

FirstAndThirdPartyAudience.fromJson(
  1. Map json_
)

Implementation

FirstAndThirdPartyAudience.fromJson(core.Map json_)
    : this(
        activeDisplayAudienceSize:
            json_.containsKey('activeDisplayAudienceSize')
                ? json_['activeDisplayAudienceSize'] as core.String
                : null,
        appId:
            json_.containsKey('appId') ? json_['appId'] as core.String : null,
        audienceSource: json_.containsKey('audienceSource')
            ? json_['audienceSource'] as core.String
            : null,
        audienceType: json_.containsKey('audienceType')
            ? json_['audienceType'] as core.String
            : null,
        contactInfoList: json_.containsKey('contactInfoList')
            ? ContactInfoList.fromJson(json_['contactInfoList']
                as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayAudienceSize: json_.containsKey('displayAudienceSize')
            ? json_['displayAudienceSize'] as core.String
            : null,
        displayDesktopAudienceSize:
            json_.containsKey('displayDesktopAudienceSize')
                ? json_['displayDesktopAudienceSize'] as core.String
                : null,
        displayMobileAppAudienceSize:
            json_.containsKey('displayMobileAppAudienceSize')
                ? json_['displayMobileAppAudienceSize'] as core.String
                : null,
        displayMobileWebAudienceSize:
            json_.containsKey('displayMobileWebAudienceSize')
                ? json_['displayMobileWebAudienceSize'] as core.String
                : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        firstAndThirdPartyAudienceId:
            json_.containsKey('firstAndThirdPartyAudienceId')
                ? json_['firstAndThirdPartyAudienceId'] as core.String
                : null,
        firstAndThirdPartyAudienceType:
            json_.containsKey('firstAndThirdPartyAudienceType')
                ? json_['firstAndThirdPartyAudienceType'] as core.String
                : null,
        gmailAudienceSize: json_.containsKey('gmailAudienceSize')
            ? json_['gmailAudienceSize'] as core.String
            : null,
        membershipDurationDays: json_.containsKey('membershipDurationDays')
            ? json_['membershipDurationDays'] as core.String
            : null,
        mobileDeviceIdList: json_.containsKey('mobileDeviceIdList')
            ? MobileDeviceIdList.fromJson(json_['mobileDeviceIdList']
                as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        youtubeAudienceSize: json_.containsKey('youtubeAudienceSize')
            ? json_['youtubeAudienceSize'] as core.String
            : null,
      );