GoogleCloudDocumentaiV1beta1DocumentTextChange.fromJson constructor
GoogleCloudDocumentaiV1beta1DocumentTextChange.fromJson(
- Map _json
Implementation
GoogleCloudDocumentaiV1beta1DocumentTextChange.fromJson(core.Map _json)
: this(
changedText: _json.containsKey('changedText')
? _json['changedText'] as core.String
: null,
provenance: _json.containsKey('provenance')
? (_json['provenance'] as core.List)
.map<GoogleCloudDocumentaiV1beta1DocumentProvenance>(
(value) => GoogleCloudDocumentaiV1beta1DocumentProvenance
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
textAnchor: _json.containsKey('textAnchor')
? GoogleCloudDocumentaiV1beta1DocumentTextAnchor.fromJson(
_json['textAnchor'] as core.Map<core.String, core.dynamic>)
: null,
);