GoogleCloudAiplatformV1RubricVerdict.fromJson constructor

GoogleCloudAiplatformV1RubricVerdict.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1RubricVerdict.fromJson(core.Map json_)
  : this(
      evaluatedRubric: json_.containsKey('evaluatedRubric')
          ? GoogleCloudAiplatformV1Rubric.fromJson(
              json_['evaluatedRubric'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      reasoning: json_['reasoning'] as core.String?,
      verdict: json_['verdict'] as core.bool?,
    );