DiagnosticMessage class abstract

A single message associated with a Diagnostic, consisting of the text of the message and the location associated with it.

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

Constructors

DiagnosticMessage()

Properties

filePath String
The absolute and normalized path of the file associated with this message.
no setter
hashCode int
The hash code for this object.
no setterinherited
length int
The length of the source range associated with this message.
no setter
offset int
The zero-based offset from the start of the file to the beginning of the source range associated with this message.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
The URL associated with this diagnostic message, if any.
no setter

Methods

messageText({required bool includeUrl}) String
Gets the text of the message.
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