ScanDiagnostic constructor

const ScanDiagnostic({
  1. required String ruleName,
  2. required String filePath,
  3. required int line,
  4. required int column,
  5. required int offset,
  6. required int length,
  7. required String severity,
  8. required String? problemMessage,
  9. String? correctionMessage,
})

Implementation

const ScanDiagnostic({
  required this.ruleName,
  required this.filePath,
  required this.line,
  required this.column,
  required this.offset,
  required this.length,
  required this.severity,
  required this.problemMessage,
  this.correctionMessage,
});