AsyncBatchAnnotateImagesRequest.fromJson constructor
AsyncBatchAnnotateImagesRequest.fromJson(
- Map json_
Implementation
AsyncBatchAnnotateImagesRequest.fromJson(core.Map json_)
: this(
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
outputConfig: json_.containsKey('outputConfig')
? OutputConfig.fromJson(
json_['outputConfig'] as core.Map<core.String, core.dynamic>)
: null,
parent: json_.containsKey('parent')
? json_['parent'] as core.String
: null,
requests: json_.containsKey('requests')
? (json_['requests'] as core.List)
.map((value) => AnnotateImageRequest.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);