UnusedCodeIssue class

Represents an issue detected by the unused code check.

Constructors

UnusedCodeIssue({required String declarationName, required String declarationType, required SourceLocation location})
Initialize a newly created UnusedCodeIssue.
const

Properties

declarationName String
The name of the unused declaration.
final
declarationType String
The type of the unused declaration.
final
hashCode int
The hash code for this object.
no setterinherited
location → SourceLocation
The source location associated with this issue.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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