Diagnostic class

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.
read-only
correctionMessage String
A description of how to fix the problem, or null if there is no such description.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
problemMessage DiagnosticMessage
A message describing what is wrong and why.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
severity Severity
The severity associated with the diagnostic.
read-only

Methods

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

Operators

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