GoogleCloudContentwarehouseV1RuleEvaluatorOutput.fromJson constructor

GoogleCloudContentwarehouseV1RuleEvaluatorOutput.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1RuleEvaluatorOutput.fromJson(core.Map json_)
    : this(
        invalidRules: json_.containsKey('invalidRules')
            ? (json_['invalidRules'] as core.List)
                .map((value) =>
                    GoogleCloudContentwarehouseV1InvalidRule.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        matchedRules: json_.containsKey('matchedRules')
            ? (json_['matchedRules'] as core.List)
                .map((value) => GoogleCloudContentwarehouseV1Rule.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        triggeredRules: json_.containsKey('triggeredRules')
            ? (json_['triggeredRules'] as core.List)
                .map((value) => GoogleCloudContentwarehouseV1Rule.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );