GoogleCloudDatalabelingV1beta1DataItem.fromJson constructor
GoogleCloudDatalabelingV1beta1DataItem.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1DataItem.fromJson(core.Map json_)
: this(
imagePayload: json_.containsKey('imagePayload')
? GoogleCloudDatalabelingV1beta1ImagePayload.fromJson(
json_['imagePayload'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
textPayload: json_.containsKey('textPayload')
? GoogleCloudDatalabelingV1beta1TextPayload.fromJson(
json_['textPayload'] as core.Map<core.String, core.dynamic>)
: null,
videoPayload: json_.containsKey('videoPayload')
? GoogleCloudDatalabelingV1beta1VideoPayload.fromJson(
json_['videoPayload'] as core.Map<core.String, core.dynamic>)
: null,
);