GoogleCloudDocumentaiV1beta3BatchProcessMetadata.fromJson constructor
GoogleCloudDocumentaiV1beta3BatchProcessMetadata.fromJson(
- Map _json
Implementation
GoogleCloudDocumentaiV1beta3BatchProcessMetadata.fromJson(core.Map _json)
: this(
createTime: _json.containsKey('createTime')
? _json['createTime'] as core.String
: null,
individualProcessStatuses: _json
.containsKey('individualProcessStatuses')
? (_json['individualProcessStatuses'] as core.List)
.map<GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus>(
(value) =>
GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
state:
_json.containsKey('state') ? _json['state'] as core.String : null,
stateMessage: _json.containsKey('stateMessage')
? _json['stateMessage'] as core.String
: null,
updateTime: _json.containsKey('updateTime')
? _json['updateTime'] as core.String
: null,
);