Diagnostic class abstract

A diagnostic, as defined by the Diagnostic Design Guidelines:

An indication of a specific problem at a specific location within the source code being processed by a development tool.

Clients may not extend, implement or mix-in this class.

Implementers

Constructors

Diagnostic()

Properties

contextMessages List<DiagnosticMessage>
A list of messages that provide context for understanding the problem being reported. The list will be empty if there are no such messages.
no setter
correctionMessage String?
A description of how to fix the problem, or null if there is no such description.
no setter
hashCode int
The hash code for this object.
no setterinherited
problemMessage DiagnosticMessage
A message describing what is wrong and why.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity Severity
The severity associated with the diagnostic.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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