SpatialTextProvenance class final
The provenance of a spatial text page: its origin, the OCR software when the source names one, and whether the source declared confidence values at all.
hasConfidence stays separate from the per-zone nullable values so an
all-null confidence on an imported page reads as "the source omitted
them", never as "the import dropped them".
Constructors
- SpatialTextProvenance({required SpatialTextOrigin origin, required bool hasConfidence, String? softwareName, String? softwareVersion})
-
Creates a provenance record.
const
Properties
- hasConfidence → bool
-
Whether the source declared any confidence values.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- origin → SpatialTextOrigin
-
Where the zones came from.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- softwareName → String?
-
The OCR software's own name, when the source declares one.
final
- softwareVersion → String?
-
The OCR software's own version, when the source declares one.
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.
override