HocrUnitPlace class final

Where a mapped unit sits in the parsed document: the page, the line's index among that page's lines in document order, and the word's index inside its line — null for a line-level unit.

Constructors

HocrUnitPlace({required int pageIndex, required int lineIndex, int? wordIndex})
Creates the place.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
lineIndex → int
The line's index in HocrPage.lines.
final
pageIndex → int
The page's index in HocrDocument.pages.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wordIndex → int?
The word's index in HocrLine.words, when the unit is a word.
final

Methods

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

Operators

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