severityMap top-level constant Null safety

Map<String, ErrorSeverity> const severityMap

String identifiers mapped to associated severities.

Implementation

const Map<String, ErrorSeverity> severityMap = {
  'error': ErrorSeverity.ERROR,
  'info': ErrorSeverity.INFO,
  'warning': ErrorSeverity.WARNING
};