AudienceGroupAssignedTargetingOptionDetails.fromJson constructor

AudienceGroupAssignedTargetingOptionDetails.fromJson(
  1. Map json_
)

Implementation

AudienceGroupAssignedTargetingOptionDetails.fromJson(core.Map json_)
    : this(
        excludedFirstAndThirdPartyAudienceGroup:
            json_.containsKey('excludedFirstAndThirdPartyAudienceGroup')
                ? FirstAndThirdPartyAudienceGroup.fromJson(
                    json_['excludedFirstAndThirdPartyAudienceGroup']
                        as core.Map<core.String, core.dynamic>)
                : null,
        excludedGoogleAudienceGroup:
            json_.containsKey('excludedGoogleAudienceGroup')
                ? GoogleAudienceGroup.fromJson(
                    json_['excludedGoogleAudienceGroup']
                        as core.Map<core.String, core.dynamic>)
                : null,
        includedCombinedAudienceGroup:
            json_.containsKey('includedCombinedAudienceGroup')
                ? CombinedAudienceGroup.fromJson(
                    json_['includedCombinedAudienceGroup']
                        as core.Map<core.String, core.dynamic>)
                : null,
        includedCustomListGroup: json_.containsKey('includedCustomListGroup')
            ? CustomListGroup.fromJson(json_['includedCustomListGroup']
                as core.Map<core.String, core.dynamic>)
            : null,
        includedFirstAndThirdPartyAudienceGroups: json_
                .containsKey('includedFirstAndThirdPartyAudienceGroups')
            ? (json_['includedFirstAndThirdPartyAudienceGroups'] as core.List)
                .map((value) => FirstAndThirdPartyAudienceGroup.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        includedGoogleAudienceGroup:
            json_.containsKey('includedGoogleAudienceGroup')
                ? GoogleAudienceGroup.fromJson(
                    json_['includedGoogleAudienceGroup']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );