TextLocation class

Location anchor within a plain-text, Markdown, or LaTeX source document.

Constructors

TextLocation({int? firstColumn, int? firstLine, int? lastColumn, int? lastLine, String? quotedLinePreview})
TextLocation.fromJson(Map json_)

Properties

firstColumn ↔ int?
Optional 1-indexed inclusive first column offset within first_line.
getter/setter pair
firstLine ↔ int?
1-indexed inclusive first line number.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
lastColumn ↔ int?
Optional 1-indexed inclusive last column offset within last_line.
getter/setter pair
lastLine ↔ int?
1-indexed inclusive last line number.
getter/setter pair
quotedLinePreview ↔ String?
Verbatim snippet of the anchored source line(s).
getter/setter pair
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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