FloodlightConfiguration.fromJson constructor

FloodlightConfiguration.fromJson(
  1. Map json_
)

Implementation

FloodlightConfiguration.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        advertiserId: json_.containsKey('advertiserId')
            ? json_['advertiserId'] as core.String
            : null,
        advertiserIdDimensionValue:
            json_.containsKey('advertiserIdDimensionValue')
                ? DimensionValue.fromJson(json_['advertiserIdDimensionValue']
                    as core.Map<core.String, core.dynamic>)
                : null,
        analyticsDataSharingEnabled:
            json_.containsKey('analyticsDataSharingEnabled')
                ? json_['analyticsDataSharingEnabled'] as core.bool
                : null,
        customViewabilityMetric: json_.containsKey('customViewabilityMetric')
            ? CustomViewabilityMetric.fromJson(
                json_['customViewabilityMetric']
                    as core.Map<core.String, core.dynamic>)
            : null,
        exposureToConversionEnabled:
            json_.containsKey('exposureToConversionEnabled')
                ? json_['exposureToConversionEnabled'] as core.bool
                : null,
        firstDayOfWeek: json_.containsKey('firstDayOfWeek')
            ? json_['firstDayOfWeek'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        idDimensionValue: json_.containsKey('idDimensionValue')
            ? DimensionValue.fromJson(json_['idDimensionValue']
                as core.Map<core.String, core.dynamic>)
            : null,
        inAppAttributionTrackingEnabled:
            json_.containsKey('inAppAttributionTrackingEnabled')
                ? json_['inAppAttributionTrackingEnabled'] as core.bool
                : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        lookbackConfiguration: json_.containsKey('lookbackConfiguration')
            ? LookbackConfiguration.fromJson(json_['lookbackConfiguration']
                as core.Map<core.String, core.dynamic>)
            : null,
        naturalSearchConversionAttributionOption: json_
                .containsKey('naturalSearchConversionAttributionOption')
            ? json_['naturalSearchConversionAttributionOption'] as core.String
            : null,
        omnitureSettings: json_.containsKey('omnitureSettings')
            ? OmnitureSettings.fromJson(json_['omnitureSettings']
                as core.Map<core.String, core.dynamic>)
            : null,
        subaccountId: json_.containsKey('subaccountId')
            ? json_['subaccountId'] as core.String
            : null,
        tagSettings: json_.containsKey('tagSettings')
            ? TagSettings.fromJson(
                json_['tagSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        thirdPartyAuthenticationTokens:
            json_.containsKey('thirdPartyAuthenticationTokens')
                ? (json_['thirdPartyAuthenticationTokens'] as core.List)
                    .map((value) => ThirdPartyAuthenticationToken.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        userDefinedVariableConfigurations:
            json_.containsKey('userDefinedVariableConfigurations')
                ? (json_['userDefinedVariableConfigurations'] as core.List)
                    .map((value) => UserDefinedVariableConfiguration.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
      );