LspErrors class
Represents an error in the LSP (Language Server Protocol).
This class is used internally by the CodeCrafter widget to display errors in the editor.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String
-
The message describing the error.
getter/setter pair
-
range
→ Map<
String, dynamic> -
The range of the error in the document, represented as a map with keys 'start' and 'end'.
The 'start' and 'end' keys are maps with 'line' and 'character' keys.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → int
-
The severity of the error, which can be one of the following:
final
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited