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
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