UnusedCodeIssue constructor

const UnusedCodeIssue({
  1. required String declarationName,
  2. required String declarationType,
  3. required SourceLocation location,
})

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,
});