SegmentLeaf class
The line and leaf found at a document offset; see Document.querySegmentLeaf.
Constructors
- SegmentLeaf(Line? line, Leaf? leaf)
-
Creates a query result; both fields are
nullwhen the offset is out of range.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- leaf → Leaf?
-
The leaf at the offset, or
nullwhen out of range or when the offset points at the line's trailing newline.final - line → Line?
-
The line containing the offset, or
nullwhen out of range.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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