DemandGenSettings.fromJson constructor

DemandGenSettings.fromJson(
  1. Map json_
)

Implementation

DemandGenSettings.fromJson(core.Map json_)
  : this(
      geoLanguageTargetingEnabled:
          json_['geoLanguageTargetingEnabled'] as core.bool?,
      linkedMerchantId: json_['linkedMerchantId'] as core.String?,
      thirdPartyMeasurementConfigs:
          json_.containsKey('thirdPartyMeasurementConfigs')
          ? ThirdPartyMeasurementConfigs.fromJson(
              json_['thirdPartyMeasurementConfigs']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );