Diagnostic class

A single diagnostic (error/warning/…) at a range.

Constructors

Diagnostic({required Range range, required String message, int severity = DiagnosticSeverity.error, String source = 'apollovm', String? code})
const
Diagnostic.fromJson(Map<String, Object?> json)
factory

Properties

code → String?
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
final
range → Range
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severity → int
final
source → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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