ExtractionResult class

The result of extracting a document.

Constructors

ExtractionResult({required String text, required List<ExtractedPage> pages, required BanglaTextEncoding encodingDetected, required double confidence, bool isEncrypted = false, bool isLocked = false})
const

Properties

confidence double
Rough confidence in the extraction, 0 to 1.
final
encodingDetected BanglaTextEncoding
How the document as a whole was encoded.
final
hasBangla bool
Whether any Bangla was found.
no setter
hashCode int
The hash code for this object.
no setterinherited
isEncrypted bool
Whether the document is encrypted.
final
isLocked bool
Whether the document is encrypted and could not be opened.
final
pages List<ExtractedPage>
Per-page results.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Every page's text, joined by a blank line.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited