Diagnostic constructor

Diagnostic(
  1. Range range,
  2. String message, [
  3. DiagnosticSeverity? severity
])

Implementation

factory Diagnostic(
  _i3.Range range,
  _i2.String message, [
  _i3.DiagnosticSeverity? severity,
]) =>
    _i5.callConstructor(
      _declaredDiagnostic,
      [
        range,
        message,
        severity?.name ?? _i6.undefined,
      ],
    );