GoogleCloudDocumentaiV1DocumentTextChange class
This message is used for text changes aka. OCR corrections.
Constructors
-
GoogleCloudDocumentaiV1DocumentTextChange({Input<
String> ? changedText, Input<List< ? provenance, Input<GoogleCloudDocumentaiV1DocumentProvenance> >GoogleCloudDocumentaiV1DocumentTextAnchor> ? textAnchor}) -
Creates a new GoogleCloudDocumentaiV1DocumentTextChange.
changedTextThe text that replaces the text identified in thetext_anchor.provenanceThe history of this annotation.textAnchorProvenance of the correction. Text anchor indexing into the Document.text. There can only be a singleTextAnchor.text_segmentselement. If the start and end index of the text segment are the same, the text change is inserted before that index.const -
GoogleCloudDocumentaiV1DocumentTextChange.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
changedText
→ Input<
String> ? -
The text that replaces the text identified in the
text_anchor.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
provenance
→ Input<
List< ?GoogleCloudDocumentaiV1DocumentProvenance> > -
The history of this annotation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
textAnchor
→ Input<
GoogleCloudDocumentaiV1DocumentTextAnchor> ? -
Provenance of the correction. Text anchor indexing into the Document.text. There can only be a single
TextAnchor.text_segmentselement. If the start and end index of the text segment are the same, the text change is inserted before that index.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited