GoogleCloudDatalabelingV1beta1VideoEventAnnotation.fromJson constructor

GoogleCloudDatalabelingV1beta1VideoEventAnnotation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatalabelingV1beta1VideoEventAnnotation.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,
      );