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