$DoubleVerifyBrandSafetyCategories.fromJson constructor

$DoubleVerifyBrandSafetyCategories.fromJson(
  1. Map json_
)

Implementation

$DoubleVerifyBrandSafetyCategories.fromJson(core.Map json_)
    : this(
        avoidUnknownBrandSafetyCategory:
            json_.containsKey('avoidUnknownBrandSafetyCategory')
                ? json_['avoidUnknownBrandSafetyCategory'] as core.bool
                : null,
        avoidedHighSeverityCategories:
            json_.containsKey('avoidedHighSeverityCategories')
                ? (json_['avoidedHighSeverityCategories'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        avoidedMediumSeverityCategories:
            json_.containsKey('avoidedMediumSeverityCategories')
                ? (json_['avoidedMediumSeverityCategories'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
      );