DiffReviewRange class final TUI
An inclusive range on one side of one file.
Constructors
- DiffReviewRange(DiffCommentLineKey start, [DiffCommentLineKey? end])
-
Creates a normalized range. Cross-file and cross-side ranges are rejected.
factory
Properties
- end → DiffCommentLineKey
-
Last source position, inclusive.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRange → bool
-
Whether this range spans more than one source line.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → DiffCommentLineKey
-
First source position, inclusive.
final
Methods
-
contains(
DiffCommentLineKey key) → bool -
Whether
keybelongs to this source range. -
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