$IntegralAdScience.fromJson constructor

$IntegralAdScience.fromJson(
  1. Map json_
)

Implementation

$IntegralAdScience.fromJson(core.Map json_)
    : this(
        customSegmentId: json_.containsKey('customSegmentId')
            ? (json_['customSegmentId'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        displayViewability: json_.containsKey('displayViewability')
            ? json_['displayViewability'] as core.String
            : null,
        excludeUnrateable: json_.containsKey('excludeUnrateable')
            ? json_['excludeUnrateable'] as core.bool
            : null,
        excludedAdFraudRisk: json_.containsKey('excludedAdFraudRisk')
            ? json_['excludedAdFraudRisk'] as core.String
            : null,
        excludedAdultRisk: json_.containsKey('excludedAdultRisk')
            ? json_['excludedAdultRisk'] as core.String
            : null,
        excludedAlcoholRisk: json_.containsKey('excludedAlcoholRisk')
            ? json_['excludedAlcoholRisk'] as core.String
            : null,
        excludedDrugsRisk: json_.containsKey('excludedDrugsRisk')
            ? json_['excludedDrugsRisk'] as core.String
            : null,
        excludedGamblingRisk: json_.containsKey('excludedGamblingRisk')
            ? json_['excludedGamblingRisk'] as core.String
            : null,
        excludedHateSpeechRisk: json_.containsKey('excludedHateSpeechRisk')
            ? json_['excludedHateSpeechRisk'] as core.String
            : null,
        excludedIllegalDownloadsRisk:
            json_.containsKey('excludedIllegalDownloadsRisk')
                ? json_['excludedIllegalDownloadsRisk'] as core.String
                : null,
        excludedOffensiveLanguageRisk:
            json_.containsKey('excludedOffensiveLanguageRisk')
                ? json_['excludedOffensiveLanguageRisk'] as core.String
                : null,
        excludedViolenceRisk: json_.containsKey('excludedViolenceRisk')
            ? json_['excludedViolenceRisk'] as core.String
            : null,
        traqScoreOption: json_.containsKey('traqScoreOption')
            ? json_['traqScoreOption'] as core.String
            : null,
        videoViewability: json_.containsKey('videoViewability')
            ? json_['videoViewability'] as core.String
            : null,
      );