severityMap top-level constant

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
};