UnnecessaryNullableIssue constructor

const UnnecessaryNullableIssue({
  1. required String declarationName,
  2. required String declarationType,
  3. required Iterable<String> parameters,
  4. required SourceLocation location,
})

Initialize a newly created UnnecessaryNullableIssue.

The issue is associated with the given location. Used for creating an unused code report.

Implementation

const UnnecessaryNullableIssue({
  required this.declarationName,
  required this.declarationType,
  required this.parameters,
  required this.location,
});