LineRange class
Represents a 1-based inclusive range of lines [startLine, endLine].
- Implemented types
Constructors
Properties
Methods
-
compareTo(
LineRange other) → int -
Compares this object to another object.
override
-
contains(
int lineNumber) → bool -
Returns
trueiflineNumberis within this range. -
intersects(
int start, int end) → bool -
Returns
trueif this range intersects[start, end]. -
intersectsRange(
LineRange other) → bool -
Returns
trueif this range intersectsother. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override