BatchAnnotateImagesRequest.fromJson constructor
BatchAnnotateImagesRequest.fromJson(
- Map json_
Implementation
BatchAnnotateImagesRequest.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,
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,
);