DiagnosticMessage class

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.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
length int
The length of the source range associated with this message.
read-only
message String
The text of the message.
read-only
offset int
The zero-based offset from the start of the file to the beginning of the source range associated with this message.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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