GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry.fromJson constructor

GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry.fromJson(core.Map _json)
    : this(
        annotationSpec: _json.containsKey('annotationSpec')
            ? GoogleCloudDatalabelingV1beta1AnnotationSpec.fromJson(
                _json['annotationSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        itemCount: _json.containsKey('itemCount')
            ? _json['itemCount'] as core.int
            : null,
      );