Issue class
Represents an issue detected by the analysis rule.
Constructors
Properties
- codeIndex → int
-
final
- 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
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- 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
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited - suggestion → Replacement?
-
The suggested relevant change or
nullif there is no change.final - verboseMessage → String?
-
The verbose message containing information about how the user can fix this
issue or
nullif 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