YoutubeAndPartnersThirdPartyMeasurementSettings.fromJson constructor

YoutubeAndPartnersThirdPartyMeasurementSettings.fromJson(
  1. Map json_
)

Implementation

YoutubeAndPartnersThirdPartyMeasurementSettings.fromJson(core.Map json_)
    : this(
        brandLiftVendorConfigs: json_.containsKey('brandLiftVendorConfigs')
            ? (json_['brandLiftVendorConfigs'] as core.List)
                .map((value) => ThirdPartyVendorConfig.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        brandSafetyVendorConfigs:
            json_.containsKey('brandSafetyVendorConfigs')
                ? (json_['brandSafetyVendorConfigs'] as core.List)
                    .map((value) => ThirdPartyVendorConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        reachVendorConfigs: json_.containsKey('reachVendorConfigs')
            ? (json_['reachVendorConfigs'] as core.List)
                .map((value) => ThirdPartyVendorConfig.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        viewabilityVendorConfigs:
            json_.containsKey('viewabilityVendorConfigs')
                ? (json_['viewabilityVendorConfigs'] as core.List)
                    .map((value) => ThirdPartyVendorConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
      );