UnusedCodeIssueKind enum
The kind of finding an UnusedCodeIssue carries.
Values
- unused → const UnusedCodeIssueKind
-
The declaration has no reference anywhere in the analyzed code.
- couldBePrivate → const UnusedCodeIssueKind
-
The declaration is public and used, but every reference to it lives in the library that declares it, so it could be made private.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The name of this kind in report output.
no setter
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
UnusedCodeIssueKind> - A constant List of the values in this enum, in order of their declaration.