GoogleCloudDocumentaiV1beta1DocumentProvenance.fromJson constructor
GoogleCloudDocumentaiV1beta1DocumentProvenance.fromJson(
- Map _json
Implementation
GoogleCloudDocumentaiV1beta1DocumentProvenance.fromJson(core.Map _json)
: this(
id: _json.containsKey('id') ? _json['id'] as core.int : null,
parents: _json.containsKey('parents')
? (_json['parents'] as core.List)
.map<GoogleCloudDocumentaiV1beta1DocumentProvenanceParent>(
(value) =>
GoogleCloudDocumentaiV1beta1DocumentProvenanceParent
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
revision: _json.containsKey('revision')
? _json['revision'] as core.int
: null,
type: _json.containsKey('type') ? _json['type'] as core.String : null,
);