Issue class

Represents an issue detected by the analysis rule.

Constructors

Issue({required String ruleId, required Uri documentation, required SourceSpan location, required Severity severity, required String message, String? verboseMessage, Replacement? suggestion})
Initialize a newly created Issue.
const

Properties

documentation Uri
The url of a page containing documentation associated with this issue.
final
hashCode int
The hash code for this object.
no setterinherited
location → SourceSpan
The source location associated with this issue.
final
message String
The short message (single line).
final
ruleId String
The id of the rule associated with this issue.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity Severity
The severity of this issue.
final
suggestion Replacement?
The suggested relevant change or null if there is no change.
final
verboseMessage String?
The verbose message containing information about how the user can fix this issue or null if there is no information.
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