Diagnostic constructor

const Diagnostic({
  1. required String code,
  2. required String stage,
  3. required DiagnosticSeverity severity,
  4. DiagnosticOwner owner = DiagnosticOwner.unknown,
  5. required String message,
  6. String remediation = '',
  7. String? profile,
  8. String? runnerId,
  9. Map<String, String> context = const {},
})

Implementation

const Diagnostic({
  required this.code,
  required this.stage,
  required this.severity,
  this.owner = DiagnosticOwner.unknown,
  required this.message,
  this.remediation = '',
  this.profile,
  this.runnerId,
  this.context = const {},
});