Diagnostic constructor

const Diagnostic(
  1. DiagnosticCode code,
  2. String path,
  3. String message, {
  4. String? nodeId,
  5. String? suggestion,
  6. String? file,
})

Implementation

const Diagnostic(this.code, this.path, this.message, {this.nodeId, this.suggestion, this.file});