LineRange class final

Inclusive line range described by one selector segment (e.g. 50-100, 301-, or 50+10). A null endLine means open-ended ("to EOF").

Constructors

LineRange(int startLine, [int? endLine])
Creates a line range. endLine must be >= startLine when given.
const

Properties

endLine → int?
Last line of the range (1-indexed, inclusive), or null for open-ended.
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startLine → int
First line of the range (1-indexed).
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