GoogleCloudDatalabelingV1beta1VideoPayload.fromJson constructor
GoogleCloudDatalabelingV1beta1VideoPayload.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1VideoPayload.fromJson(core.Map json_)
: this(
frameRate: json_.containsKey('frameRate')
? (json_['frameRate'] as core.num).toDouble()
: null,
mimeType: json_.containsKey('mimeType')
? json_['mimeType'] as core.String
: null,
signedUri: json_.containsKey('signedUri')
? json_['signedUri'] as core.String
: null,
videoThumbnails: json_.containsKey('videoThumbnails')
? (json_['videoThumbnails'] as core.List)
.map((value) =>
GoogleCloudDatalabelingV1beta1VideoThumbnail.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
videoUri: json_.containsKey('videoUri')
? json_['videoUri'] as core.String
: null,
);