GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation.fromJson constructor

GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation.fromJson(
  1. Map _json
)

Implementation

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