GoogleCloudDatalabelingV1beta1Evaluation.fromJson constructor

GoogleCloudDatalabelingV1beta1Evaluation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatalabelingV1beta1Evaluation.fromJson(core.Map json_)
    : this(
        annotationType: json_.containsKey('annotationType')
            ? json_['annotationType'] as core.String
            : null,
        config: json_.containsKey('config')
            ? GoogleCloudDatalabelingV1beta1EvaluationConfig.fromJson(
                json_['config'] as core.Map<core.String, core.dynamic>)
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        evaluatedItemCount: json_.containsKey('evaluatedItemCount')
            ? json_['evaluatedItemCount'] as core.String
            : null,
        evaluationJobRunTime: json_.containsKey('evaluationJobRunTime')
            ? json_['evaluationJobRunTime'] as core.String
            : null,
        evaluationMetrics: json_.containsKey('evaluationMetrics')
            ? GoogleCloudDatalabelingV1beta1EvaluationMetrics.fromJson(
                json_['evaluationMetrics']
                    as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );