UnusedCodeIssue constructor
const
UnusedCodeIssue({
- required String declarationName,
- required String declarationType,
- required SourceLocation location,
- UnusedCodeIssueKind kind = UnusedCodeIssueKind.unused,
Initialize a newly created UnusedCodeIssue.
The issue is associated with the given location. Used for
creating an unused code report.
Implementation
const UnusedCodeIssue({
required this.declarationName,
required this.declarationType,
required this.location,
this.kind = UnusedCodeIssueKind.unused,
});