HTDiagnostic 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.

Constructors

HTDiagnostic(List<HTDiagnosticMessage> contextMessages, String? correctionMessage, HTDiagnosticMessage problemMessage, ErrorSeverity severity)

Properties

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

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