GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation.fromJson constructor
GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation.fromJson(
- Map _json
Implementation
GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation.fromJson(
core.Map _json)
: this(
annotationSpec: _json.containsKey('annotationSpec')
? GoogleCloudDatalabelingV1beta1AnnotationSpec.fromJson(
_json['annotationSpec']
as core.Map<core.String, core.dynamic>)
: null,
objectTrackingFrames: _json.containsKey('objectTrackingFrames')
? (_json['objectTrackingFrames'] as core.List)
.map((value) =>
GoogleCloudDatalabelingV1beta1ObjectTrackingFrame
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
timeSegment: _json.containsKey('timeSegment')
? GoogleCloudDatalabelingV1beta1TimeSegment.fromJson(
_json['timeSegment'] as core.Map<core.String, core.dynamic>)
: null,
);