severity property

DiagnosticSeverity get severity

The severity, default is {@link DiagnosticSeverity.Error error}.

Implementation

_i3.DiagnosticSeverity get severity =>
    _i3.DiagnosticSeverity.values.byName(_i5.getProperty(
      this,
      'severity',
    ));
set severity (DiagnosticSeverity value)

Implementation

set severity(_i3.DiagnosticSeverity value) {
  _i5.setProperty(
    this,
    'severity',
    value.name,
  );
}