LspPosition class final

LSP position (0-indexed line and character on the wire).

Constructors

LspPosition({required int line, required int character})
Creates an LspPosition.
const
LspPosition.fromJson(Map<String, dynamic> json)
Parses a JSON {"line": n, "character": n} map.
factory

Properties

character → int
0-indexed character (UTF-16 code units per the LSP spec).
final
hashCode → int
The hash code for this object.
no setterinherited
line → int
0-indexed line.
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
toJson() → Map<String, dynamic>
JSON form for requests.
toString() → String
A string representation of this object.
override

Operators

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