GoogleCloudDocumentaiV1beta3DocumentTextChange.fromJson constructor
GoogleCloudDocumentaiV1beta3DocumentTextChange.fromJson(
- Map _json
Implementation
GoogleCloudDocumentaiV1beta3DocumentTextChange.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<GoogleCloudDocumentaiV1beta3DocumentProvenance>(
(value) => GoogleCloudDocumentaiV1beta3DocumentProvenance
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
textAnchor: _json.containsKey('textAnchor')
? GoogleCloudDocumentaiV1beta3DocumentTextAnchor.fromJson(
_json['textAnchor'] as core.Map<core.String, core.dynamic>)
: null,
);