AsyncAnnotateFileRequest.fromJson constructor
AsyncAnnotateFileRequest.fromJson(
- Map json_
Implementation
AsyncAnnotateFileRequest.fromJson(core.Map json_)
: this(
features: json_.containsKey('features')
? (json_['features'] as core.List)
.map((value) => Feature.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
imageContext: json_.containsKey('imageContext')
? ImageContext.fromJson(
json_['imageContext'] as core.Map<core.String, core.dynamic>)
: null,
inputConfig: json_.containsKey('inputConfig')
? InputConfig.fromJson(
json_['inputConfig'] as core.Map<core.String, core.dynamic>)
: null,
outputConfig: json_.containsKey('outputConfig')
? OutputConfig.fromJson(
json_['outputConfig'] as core.Map<core.String, core.dynamic>)
: null,
);