DiagnosticLine class
Use it to display error lints (wavy underlines) in CodeForge.
Constructors
-
DiagnosticLine({required int severity, required Map<
String, dynamic> range, required String message})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String
-
The message describing the error.
getter/setter pairinherited
-
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.
finalinherited
- 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:
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited